mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 07:16:10 +01:00
Suffix the library name with 'd' for debug builds
This commit is contained in:
parent
07018e2fba
commit
9ac9fb164e
@ -249,6 +249,8 @@ if (ANDROID)
|
|||||||
target_link_libraries(Catch2 INTERFACE log)
|
target_link_libraries(Catch2 INTERFACE log)
|
||||||
endif()
|
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
|
# depend on bunch of C++11 and C++14 features to have C++14 enabled by default
|
||||||
target_compile_features(Catch2
|
target_compile_features(Catch2
|
||||||
PUBLIC
|
PUBLIC
|
||||||
@ -291,6 +293,7 @@ set_target_properties(Catch2WithMain
|
|||||||
PROPERTIES
|
PROPERTIES
|
||||||
OUTPUT_NAME "Catch2Main"
|
OUTPUT_NAME "Catch2Main"
|
||||||
)
|
)
|
||||||
|
set_target_properties(Catch2WithMain PROPERTIES DEBUG_POSTFIX "d")
|
||||||
|
|
||||||
if (NOT_SUBPROJECT)
|
if (NOT_SUBPROJECT)
|
||||||
# create and install an export set for catch target as Catch2::Catch
|
# create and install an export set for catch target as Catch2::Catch
|
||||||
|
Loading…
Reference in New Issue
Block a user