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:
parent
ab406e3f75
commit
b5931ba6ed
1 changed files with 5 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue