1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-09-01 06:30:52 +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) file(GLOB sources ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp)
add_executable(GreeterStandalone ${sources}) add_executable(GreeterStandalone ${sources})
set_target_properties(GreeterStandalone PROPERTIES CXX_STANDARD 17 COMPILE_FLAGS "-Wall -pedantic -Wextra") set_target_properties(GreeterStandalone PROPERTIES
set_target_properties(GreeterStandalone PROPERTIES OUTPUT_NAME "Greeter") CXX_STANDARD 17
COMPILE_FLAGS "-Wall -pedantic -Wextra"
OUTPUT_NAME "Greeter"
)
target_link_libraries(GreeterStandalone Greeter cxxopts) target_link_libraries(GreeterStandalone Greeter cxxopts)