anthem/app/CMakeLists.txt
Patrick Lühne e01506f9ff
Drop Boost dependency
Boost was only used for program option parsing. To avoid this huge
dependency, this commit replaces boost::program_options with cxxopts,
a header-only library with the same functionality.

cxxopts is added as a submodule, and Boost is removed from the
dependencies in the code and Travis configuration.
2018-03-25 17:24:06 +02:00

23 lines
432 B
CMake

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
)
add_executable(${target} ${sources})
target_include_directories(${target} PRIVATE ${includes})
target_link_libraries(${target} PRIVATE ${libraries})
set_target_properties(${target} PROPERTIES OUTPUT_NAME anthem)