1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-08-30 21:51:12 +02:00

join target properties

This commit is contained in:
Lars Melchior 2020-04-14 14:39:44 +02:00
parent ab406e3f75
commit b5931ba6ed

View file

@ -26,6 +26,9 @@ CPMAddPackage(
file(GLOB sources ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp)
add_executable(GreeterStandalone ${sources})
set_target_properties(GreeterStandalone PROPERTIES CXX_STANDARD 17 COMPILE_FLAGS "-Wall -pedantic -Wextra")
set_target_properties(GreeterStandalone PROPERTIES OUTPUT_NAME "Greeter")
set_target_properties(GreeterStandalone PROPERTIES
CXX_STANDARD 17
COMPILE_FLAGS "-Wall -pedantic -Wextra"
OUTPUT_NAME "Greeter"
)
target_link_libraries(GreeterStandalone Greeter cxxopts)