diff options
| author | Daniel Edwards | 2021-05-23 21:10:01 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2021-05-29 16:24:44 +0200 |
| commit | aba114d6fed8e1ea2100a95004f93c378b696689 (patch) | |
| tree | ba01c0316f1df214310378ce4625095692284ef2 /src/catch2/catch_approx.cpp | |
| parent | 0221148ac36ef88dce2fcc49a4fce78fed14ddb4 (diff) | |
| download | catch3-aba114d6fed8e1ea2100a95004f93c378b696689.tar.gz | |
Don't include CTest in non-development builds.
When Catch2 is used as a CMake subproject (via add_subdirectory) and is not built in development mode (CATCH_DEVELOPMENT_BUILD) CTest is not required for the build, as testing is off. When CTest is included it creates various targets (around 20) which are shown in IDEs such as Clion and pollute the list of configurations.
This patch conditionally includes CTest only if Catch2 is built in development mode.
Diffstat (limited to 'src/catch2/catch_approx.cpp')
0 files changed, 0 insertions, 0 deletions