mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-09-01 06:30:52 +02:00
one more try with dll on windows
cleanup code too
This commit is contained in:
parent
d7a5e850a0
commit
f59c0cfbee
4 changed files with 10 additions and 22 deletions
|
@ -45,9 +45,7 @@ CPMAddPackage(
|
|||
file(GLOB sources CONFIGURE_DEPENDS source/*.cpp)
|
||||
add_executable(GreeterTests ${sources})
|
||||
target_link_libraries(GreeterTests doctest::doctest Greeter::Greeter)
|
||||
# EITHER:
|
||||
set_target_properties(GreeterTests PROPERTIES CXX_STANDARD ${CMAKE_CXX_STANDARD})
|
||||
# OR: target_compile_features(GreeterTests PUBLIC cxx_std_20)
|
||||
|
||||
# enable compiler warnings
|
||||
if(NOT TEST_INSTALLED_VERSION)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue