Oliver Lantwin
5444de4539
Use DEFAULT_VERSION in get_git_version()
...
When building from a source tarball (no .git directory), the version
cannot be determined from git tags. Pass DEFAULT_VERSION so that the
version can be set via -DPROJECT_VERSION on the CMake command line.
The get_git_version() function already supports this parameter; this
change simply makes use of it.
2026-06-01 12:14:45 +02:00
Alexey Rybalchenko
cd9e392ce0
CMake: remove C from project versions
2025-05-19 12:40:32 +02:00
Dennis Klein
f3d68fb4ba
build: Adopt all CMake policies up to 3.30
2024-08-20 15:56:57 +02:00
Giulio Eulisse
fdbc047591
Bump minimum required C++ standard to C++17
2024-05-23 19:47:55 +02:00
Alexey Rybalchenko
1c7e7f566a
Bump C++ requirement to C++14
2021-09-10 14:25:31 +02:00
Christian Tacke
13ebedca3d
Extract find_package2 into own File
...
To make it easier to share find_package2 across projects
let's move it into its own file.
2021-04-09 14:26:36 +02:00
Christian Tacke
1c43450582
bundled fmt: Fix target_compile_feature
...
When using the bundled fmt, the declared "INTERFACE" target
can only declare INTERFACE compile features via
target_compile_feature.
2021-04-09 14:25:10 +02:00
Dennis Klein
3f55a16850
CMake: Require language level per target
...
https://cmake.org/cmake/help/latest/manual/cmake-compile-features.7.html#requiring-language-standards
2021-03-22 06:37:16 +01:00
Dennis Klein
340b005997
Export relocatable include dirs
2021-03-07 11:16:40 +01:00
Dennis Klein
f012a870e7
CI: Migrate to new alfa-ci infrastructure
2021-03-05 03:06:08 +01:00
Alexey Rybalchenko
c8d59d11fb
Add test for cycle methods
2020-07-17 11:40:15 +02:00
Alexey Rybalchenko
de1014dabb
Add unit tests
2020-07-17 11:40:15 +02:00
Alexey Rybalchenko
ce64f628b0
Remove NDEBUG check
2020-07-17 11:40:15 +02:00
Alexey Rybalchenko
b1cb6f8a99
Add CMake variable to control FAIR_MIN_SEVERITY
2020-07-17 11:40:15 +02:00
Dennis Klein
86ab87de7b
CMake: Do not install the test executable
2019-12-17 19:16:25 +01:00
Alexey Rybalchenko
6cc60e962b
Add FAIRLOGGER_INCDIRS cmake variable
2019-08-27 13:40:01 +02:00
Alexey Rybalchenko
8073d2982c
Print install prefix in cmake summary
2019-08-27 13:40:01 +02:00
Alexey Rybalchenko
dcc27744cd
Add support for fmt/fmt::printf format
2019-08-27 13:40:01 +02:00
Dennis Klein
28882b70ca
CMake: Add dependency summary
2019-06-27 13:18:26 +02:00
Dennis Klein
1e427a2e55
CMake: Add summary about CXX flags
2019-06-27 13:18:26 +02:00
Dennis Klein
128bcceade
CMake: Update CXX standard handling
...
* Print summary
2019-06-27 13:18:26 +02:00
Dennis Klein
bee04a260c
CMake: Adopt find_package2
...
* Adds support for Boost 1.70
Resolves #14
2019-06-27 13:18:26 +02:00
Dennis Klein
8e9d91c596
CMake: Update CMake package
...
* Adopt generate_package_dependencies
Resolves #14
2019-06-27 13:18:26 +02:00
Dennis Klein
27dcf93d7f
CMake: Update version logic
2019-06-27 13:18:26 +02:00
Dennis Klein
8976d98913
CMake: Set policies by version
2019-06-27 13:18:26 +02:00
Dennis Klein
3e1de0a17b
Support user-defined verbosity formats
...
* Add `fair::Logger::DefineVerbosity(...)` API
* Add documentation to README
* Optionally support `BOOST_PRETTY_FUNCTION`
2019-01-02 09:18:30 +01:00
Dennis Klein
0c2532e6b9
Reflect git version in build artifacts
2018-09-19 18:20:29 +02:00
Dennis Klein
49a6e9389d
Support BUILD_SHARED_LIBS cmake variable
2018-09-19 18:19:55 +02:00
Dennis Klein
00e7468b25
Add library versioning
2018-04-18 15:34:22 +02:00
Dennis Klein
8f68cef9e3
Enable C language to get rid of a warning in alfa-ci
...
This should rather be solved in the build environment, which is work on
the todo list.
2018-04-12 21:36:05 +02:00
Dennis Klein
6d71d22986
Use status messages
2018-04-12 21:10:56 +02:00
Dennis Klein
5a4d3c58c7
Add CI
2018-04-11 02:21:16 +02:00
Dennis Klein
d7ddac01f7
Add CMake project and package
2018-04-11 01:42:24 +02:00