-
Notifications
You must be signed in to change notification settings - Fork 2
/
CMakeLists.txt
33 lines (23 loc) · 1007 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
cmake_minimum_required(VERSION 3.8)
project(rainynite-studio)
set(RAINYNITE_STUDIO_VERSION "0.8+" CACHE STRING "RainyNite studio version number string" FORCE)
set(RAINYNITE_STUDIO_CODENAME "Imperfect Wave" CACHE STRING "RainyNite studio version codename" FORCE)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH ON)
## Qt-related stuff
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
add_definitions(-DQT_NO_KEYWORDS) ## avoid slots/signals definition conflict
find_package(Qt5 COMPONENTS Core Widgets Multimedia MultimediaWidgets REQUIRED)
find_package(KF5ItemModels REQUIRED)
find_package(KF5Crash REQUIRED)
find_package(geom_helpers REQUIRED)
find_package(rainynite_core REQUIRED)
find_package(Boost REQUIRED COMPONENTS filesystem system)
find_package(Threads)
include_directories(thirdparty/Qt-Color-Widgets/include)
add_subdirectory(thirdparty/Qt-Color-Widgets)
add_subdirectory(studio)