anthem/app/CMakeLists.txt

26 lines
514 B
CMake
Raw Normal View History

2016-11-21 17:51:14 +01:00
set(target anthem-app)
find_package(Boost 1.55.0 COMPONENTS program_options system filesystem REQUIRED)
2016-11-21 17:51:14 +01:00
file(GLOB core_sources "*.cpp")
file(GLOB core_headers "*.h")
set(sources
${core_sources}
${core_headers}
)
set(includes
${Boost_INCLUDE_DIRS}
)
set(libraries
${Boost_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)