cmake_minimum_required(VERSION 3.8.0) project(mdd) option(TESTS_ENABLED "enable unit tests" ON) set(CMAKE_CXX_STANDARD 11) install(FILES cmake/auslegung-config.cmake DESTINATION .) if(${TESTS_ENABLED}) enable_testing() include_directories(${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/googletest/include) add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/googletest) endif() FIND_PACKAGE( Boost REQUIRED COMPONENTS program_options ) INCLUDE_DIRECTORIES( ${Boost_INCLUDE_DIR} ) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/json/single_include) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/cpp-httplib) add_subdirectory(lib)