icinga2/cmake
Johannes Schmidt b4681b10ec Discover Boost test cases automatically after build
This adds a global fixture that can parse an additional argument to
the test executables (`--generate_ctest_config`). When run by
CMake during build, this generates a CTest script containing all
the tests and their properties.

An additional decorator, that defines CTest properties for a test case
or suite that will be added to the tests during config generation.

This version needs no hacks, no huge CMake scripts, just a bit of
additional C++ code that iterates over all test-cases and collects
the information CTest needs.

One caveat is still that this does not work with cross-compilation,
which probably isn't an issue to begin with, but there are also ways
to fix that if necessary.
2025-09-10 13:48:24 +02:00
..
DiscoverBoostTests.cmake Discover Boost test cases automatically after build 2025-09-10 13:48:24 +02:00
ExecuteCommandQuietly.cmake Discover Boost test cases automatically after build 2025-09-10 13:48:24 +02:00
FindJSON.cmake Integrate nlohmann_json into CMake 2019-03-18 15:07:50 +01:00
FindUTF8CPP.cmake Integrate UTF8-CPP into CMake 2019-03-15 13:34:20 +01:00
InstallConfig.cmake Replace a few more copyright strings 2019-02-25 16:30:40 +01:00
SetFullDir.cmake Replace a few more copyright strings 2019-02-25 16:30:40 +01:00