1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-09-03 07:30:53 +02:00

add cmake tools option to easy dynamic setup

This commit is contained in:
ClausKlein 2022-03-30 06:32:14 +02:00
parent 2cf15bc347
commit aa02116995
3 changed files with 14 additions and 2 deletions

View file

@ -31,7 +31,7 @@ add_executable(${PROJECT_NAME} ${sources})
target_link_libraries(${PROJECT_NAME} doctest::doctest Greeter::Greeter)
target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_20)
# enable compiler warnings
# enable pedantic compiler warnings
include(../cmake/WarningsAsErrors.cmake)
# ---- Add GreeterTests ----