summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* update to C++17dbear4962024-09-161-1/+1
| | | | | - Uses CMAKE_CXX_STANDARD instead of setting -std flag manually. - Fixes #2375
* cmake: Clean up add_ledger_library_dependencies macroAlexis Hildebrandt2024-07-081-9/+7
|
* cmake: Fix BOOST_REGEX_UNICODE_RUNS check when USE_PYTHON=ONAlexis Hildebrandt2024-07-081-1/+1
|
* cmake: Add Python tests only when building with Python supportAlexis Hildebrandt2024-07-081-2/+0
| | | | Fixes #2324
* cmake: Minor clean-up regarding ICU versionAlexis Hildebrandt2023-12-121-1/+2
|
* cmake: Improve finding ICU libraryAlexis Hildebrandt2023-12-031-3/+6
| | | | | by using CMake's FindICU module to locate the required icuuc and icui18n libraries for use with boost regex icu.
* Merge pull request #2260 from afh/modernize-cmakeAlexis Hildebrandt2023-06-101-5/+3
|\ | | | | cmake: Replace add_defitions with superseding alternatives
| * cmake: Replace add_defitions with superseding alternativesAlexis Hildebrandt2023-06-071-5/+3
| |
* | Add build support readlineAlexis Hildebrandt2023-06-071-2/+14
|/
* Merge pull request #2238 from afh/cleanup-system-definesAlexis Hildebrandt2023-04-191-0/+4
|\ | | | | Cleanup system defines
| * Introduce ledger.hhAlexis Hildebrandt2023-04-161-0/+4
| |
* | Include contrib files in distributionAlexis Hildebrandt2023-04-181-0/+1
|/
* Fix Python version checkAlexis Hildebrandt2023-03-301-1/+1
|
* Bump required Mpfr version to 4.0.2Alexis Hildebrandt2023-03-241-0/+13
|
* Bump required Gmp version to 6.1.2Alexis Hildebrandt2023-03-241-0/+13
|
* Bump required Gpgmepp version to 1.13.1Alexis Hildebrandt2023-03-241-1/+2
|
* Bump required Python version to 3.9Alexis Hildebrandt2023-03-241-10/+7
|
* Bump required Boost version to 1.72Alexis Hildebrandt2023-03-241-30/+2
|
* Bump required CMake version to 3.16.2Alexis Hildebrandt2023-03-241-7/+3
|
* docs: Enable stand-alone buildingAlexis Hildebrandt2023-03-221-1/+3
|
* Re-add accidentially deleted PROJECT in CMakeLists.txtAlexis Hildebrandt2023-03-051-0/+2
|
* Refactor Ledger version info into cmake/LedgerVersion.cmakeAlexis Hildebrandt2023-03-051-9/+3
| | | | | so it can be re-used when generating the version.texi for ledger-website builds.
* Release 3.3.1Martin Michlmayr2023-03-031-2/+2
|
* Enforce use of non-deprecated boost::filesystem APIAlexis Hildebrandt2023-02-201-1/+4
| | | | For details see https://www.boost.org/doc/libs/1_81_0/libs/filesystem/doc/deprecated.html
* Release 3.3.0Martin Michlmayr2023-02-081-3/+3
|
* Remove support for Python 2.xAlexis Hildebrandt2023-02-011-3/+8
|
* Minor cosmetic changesAlexis Hildebrandt2023-02-011-2/+2
|
* Bump required CMake versionOleg Bulatov2022-05-061-1/+1
| | | | | | | | CMake 3.21.4 reports that compatibility with CMake < 2.8.12 will be removed from a future version of CMake. CMake 3.0 has new defaults for MACOSX_RPATH. It seems ledger works fine with them. See CMake Policy CMP0042 for the details.
* Use Boost library to read argv as UTF-8 in WindowsDaniel Coonce2021-02-021-1/+7
| | | | | | | Windows uses UTF-16 for command line arguments, so use boost::nowide to convert to UTF-8. Fixes #1986
* Support for building on older cmake versionsSanel Zukan2021-01-141-2/+3
| | | | | | | | Backported python cmake module expects at least cmake 3.7 (requested by policy), which will break builds on older cmake versions, like 3.5. This fix will omit python module inclusion for any cmake version less than 3.7 and the build will continue without problems.
* Implement cryptographic access to files using GPGMEMichael Raitza2020-10-301-0/+14
|
* Release 3.2.1Martin Michlmayr2020-05-181-2/+2
|
* use system FindPython if newerAndy Clayton2020-05-181-2/+6
| | | | | Avoid needing to keep our copy updated and only keep it as a fallback for when system cmake is not new enough.
* Release 3.2.0Martin Michlmayr2020-05-011-3/+3
|
* Enable py2 & py3 buildsDimitri John Ledkov2019-12-051-2/+2
|
* Modernize CMake using backported FindPython module.Dimitri John Ledkov2019-12-051-18/+8
|
* Release 3.1.3Martin Michlmayr2019-03-311-2/+2
|
* Release 3.1.2Martin Michlmayr2019-02-051-1/+1
|
* Merge branch 'next' into release/3.1.2Martin Michlmayr2019-02-051-6/+9
|\
| * Add Travis CI setup for macOS and homebrew-installed BoostTim Landscheidt2019-01-301-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On macOS, CMake detects the Boost.Python component installed by homebrew only when named "python27". Thus this change not only adds a Travis CI setup for macOS, but also a CMake option to switch the component name between "python" and "python27". In addition, precompiling system.hh does not work with the current setup for Clang, so another CMake option to disable it is added. The currently used commands to compile specific versions of Boost do not produce a result that works out of the box on macOS. It should be possible just to mimic homebrew's formula for boost-python (https://github.com/Homebrew/homebrew-core/blob/master/Formula/boost-python.rb), but for the moment on macOS this change tests only against Boost installed by homebrew.
| * Use CMAKE_CXX_COMPILER_ID for conditions based on compilerTim Landscheidt2019-01-261-2/+1
| | | | | | | | | | | | | | | | | | CMAKE_CXX_COMPILER is the path to the compiler binary and does not need to follow a specific pattern. For example, on Linux with GCC and without an explicit "-DCMAKE_CXX_COMPILER:PATH=" option, CMAKE_CXX_COMPILER is "/usr/bin/c++" which does not match "g++". CMAKE_CXX_COMPILER_ID however will always reliably be "Clang" or "GNU".
| * Remove unused macros HAVE_ACCESS and HAVE_REALPATHTim Landscheidt2019-01-121-2/+0
| |
| * Use "macOS" consistentlyMartin Michlmayr2019-01-091-1/+1
| | | | | | | | macOS seems to be the current name for Mac OS X.
* | Bump version number to 3.1.2Alexis Hildebrandt2018-01-271-2/+2
|/
* Escape ++ in cmake matchesJohn Wiegley2016-11-131-1/+1
|
* Don't use -isystem with g++ anymoreJohn Wiegley2016-11-131-3/+2
|
* Remove the build of ledger-mode in Makefilethdox2016-10-271-4/+0
| | | | [ci skip]
* [cmake] Fix detection for Boost Python 1.59.0 workaroundAlexis Hildebrandt2016-06-221-3/+5
|
* [cmake] Update ledger version dateAlexis Hildebrandt2016-01-111-1/+1
| | | | [ci skip]
* fix check for boost::python::make_setterJohann Klähn2015-12-101-2/+4
|