CMakeLists.txt 706 B

1234567891011121314151617181920212223242526
  1. cmake_minimum_required(VERSION 3.1)
  2. project(studio)
  3. set(RAINYNITE_STUDIO_VERSION "0.1" CACHE STRING "RainyNite studio version number string" FORCE)
  4. set(RAINYNITE_STUDIO_CODENAME "Not Entirely Useless" CACHE STRING "RainyNite studio version codename" FORCE)
  5. set(CMAKE_CXX_STANDARD 14) # 17 is not supported by cmake 3.7
  6. ## Qt-related stuff
  7. set(CMAKE_INCLUDE_CURRENT_DIR ON)
  8. set(CMAKE_AUTOMOC ON)
  9. set(CMAKE_AUTOUIC ON)
  10. set(CMAKE_AUTORCC ON)
  11. add_definitions(-DQT_NO_KEYWORDS) ## avoid slots/signals definition conflict
  12. find_package(Qt5Widgets REQUIRED)
  13. find_package(geom_helpers REQUIRED)
  14. find_package(document REQUIRED)
  15. find_package(filters REQUIRED)
  16. find_package(Threads)
  17. add_subdirectory(studio)