mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-09-01 06:30:52 +02:00
add empty lines
This commit is contained in:
parent
b5931ba6ed
commit
8e77d3e9fc
1 changed files with 3 additions and 0 deletions
|
@ -25,10 +25,13 @@ CPMAddPackage(
|
||||||
# ---- Create standalone executable ----
|
# ---- Create standalone executable ----
|
||||||
|
|
||||||
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
|
set_target_properties(GreeterStandalone PROPERTIES
|
||||||
CXX_STANDARD 17
|
CXX_STANDARD 17
|
||||||
COMPILE_FLAGS "-Wall -pedantic -Wextra"
|
COMPILE_FLAGS "-Wall -pedantic -Wextra"
|
||||||
OUTPUT_NAME "Greeter"
|
OUTPUT_NAME "Greeter"
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(GreeterStandalone Greeter cxxopts)
|
target_link_libraries(GreeterStandalone Greeter cxxopts)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue