anthem/app/CMakeLists.txt

23 lines
432 B
CMake
Raw Normal View History

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}
)
set(includes
${PROJECT_SOURCE_DIR}/lib/cxxopts/include
)
set(libraries
anthem
)
2016-11-21 17:51:14 +01:00
add_executable(${target} ${sources})
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)