CMakeLists.txt 466 B

123456789101112131415161718
  1. cmake_minimum_required(VERSION 2.8)
  2. set(CMAKE_CXX_STANDARD 17)
  3. set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/.cmake_modules/")
  4. project(ccats)
  5. if(ENABLE_TESTS)
  6. enable_testing()
  7. set(DAEMONFILEPATH ${CMAKE_BINARY_DIR}/files)
  8. endif()
  9. set(CMAKE_SOURCE_DIR ${CMAKE_SOURCE_DIR}/daemon)
  10. add_subdirectory(daemon)
  11. set(CMAKE_SOURCE_DIR ${CMAKE_SOURCE_DIR}/cli)
  12. add_subdirectory(cli)
  13. set(CMAKE_SOURCE_DIR ${CMAKE_SOURCE_DIR}/gui)
  14. add_subdirectory(gui)