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.
This commit is contained in:
2018-03-25 16:59:15 +02:00
parent 50ebf3c6de
commit e01506f9ff
7 changed files with 51 additions and 50 deletions

View File

@@ -1,7 +1,5 @@
set(target anthem-app)
find_package(Boost 1.55.0 COMPONENTS program_options system filesystem REQUIRED)
file(GLOB core_sources "*.cpp")
file(GLOB core_headers "*.h")
@@ -11,11 +9,10 @@ set(sources
)
set(includes
${Boost_INCLUDE_DIRS}
${PROJECT_SOURCE_DIR}/lib/cxxopts/include
)
set(libraries
${Boost_LIBRARIES}
anthem
)