2016-11-21 17:51:14 +01:00
|
|
|
set(target anthem-app)
|
|
|
|
|
|
|
|
file(GLOB core_sources "*.cpp")
|
|
|
|
file(GLOB core_headers "*.h")
|
|
|
|
|
|
|
|
set(sources
|
|
|
|
${core_sources}
|
|
|
|
${core_headers}
|
|
|
|
)
|
|
|
|
|
2016-11-24 22:46:44 +01:00
|
|
|
set(includes
|
2018-03-25 16:59:15 +02:00
|
|
|
${PROJECT_SOURCE_DIR}/lib/cxxopts/include
|
2016-11-24 22:46:44 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
set(libraries
|
|
|
|
anthem
|
|
|
|
)
|
|
|
|
|
2016-11-21 17:51:14 +01:00
|
|
|
add_executable(${target} ${sources})
|
2016-11-24 22:46:44 +01:00
|
|
|
target_include_directories(${target} PRIVATE ${includes})
|
|
|
|
target_link_libraries(${target} PRIVATE ${libraries})
|
2016-11-21 17:51:14 +01:00
|
|
|
set_target_properties(${target} PROPERTIES OUTPUT_NAME anthem)
|