mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-31 22:21:13 +02:00
add cmake tools option to easy dynamic setup
This commit is contained in:
parent
2cf15bc347
commit
aa02116995
3 changed files with 14 additions and 2 deletions
|
@ -24,7 +24,10 @@ file(GLOB sources CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp)
|
|||
|
||||
add_executable(${PROJECT_NAME} ${sources})
|
||||
|
||||
# TODO(CK): why is this needed?
|
||||
# enable pedantic compiler warnings
|
||||
include(../cmake/WarningsAsErrors.cmake)
|
||||
|
||||
# TODO(CK): why is this needed on CI?
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES OUTPUT_NAME Greeter)
|
||||
|
||||
target_link_libraries(${PROJECT_NAME} Greeter::Greeter cxxopts)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue