12345678910111213141516171819 |
- cmake_minimum_required(VERSION 2.8)
- set(CMAKE_CXX_STANDARD 17)
- set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/../.cmake_modules/")
- project(ccats)
- # dependencies used by server and tests
- find_package(Threads REQUIRED)
- find_package(Boost 1.70 REQUIRED COMPONENTS system filesystem)
- find_package(Jsoncpp REQUIRED)
- add_subdirectory(../libs/libbcrypt/ ${CMAKE_BINARY_DIR}/libbcrypt)
- include(src/CMakeLists.txt)
- if(ENABLE_TESTS)
- include(test/CMakeLists.txt)
- endif()
|