catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Suffix the library name with 'd' for debug builds
- Commit
9ac9fb164e5b20ad9e2f59556b75b9e6f1600f68- Author
- Roc ·
- Committer
- GitHub
- Parents
07018e2fba61
Changes
src/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 26ebdf09..7e30c1a4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -249,6 +249,8 @@ if (ANDROID) target_link_libraries(Catch2 INTERFACE log) endif() +set_target_properties(Catch2 PROPERTIES DEBUG_POSTFIX "d") + # depend on bunch of C++11 and C++14 features to have C++14 enabled by default target_compile_features(Catch2 PUBLIC @@ -291,6 +293,7 @@ set_target_properties(Catch2WithMain PROPERTIES OUTPUT_NAME "Catch2Main" ) +set_target_properties(Catch2WithMain PROPERTIES DEBUG_POSTFIX "d") if (NOT_SUBPROJECT) # create and install an export set for catch target as Catch2::Catch