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

why manipulate target properies?

disable ccache be default
but use -Wpendatic instead of -pedeantic
This commit is contained in:
ClausKlein 2021-02-06 23:37:28 +01:00
parent 48ab4e707d
commit 0ec4474d42
4 changed files with 5 additions and 4 deletions

View file

@ -26,7 +26,8 @@ file(GLOB sources CONFIGURE_DEPENDS source/*.cpp)
add_executable(GreeterStandalone ${sources})
# FIXME: WHY? CK
# set_target_properties(GreeterStandalone PROPERTIES CXX_STANDARD 17 OUTPUT_NAME "Greeter")
set_target_properties(GreeterStandalone OUTPUT_NAME "Greeter")
target_compile_features(GreeterStandalone PUBLIC cxx_std_17)
target_link_libraries(GreeterStandalone PRIVATE Greeter::Greeter cxxopts)