-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
42 lines (33 loc) · 1.05 KB
/
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
34
35
36
37
38
39
40
41
42
cmake_minimum_required(VERSION 3.0)
project(UKUIThemeCustomizer)
# Find includes in corresponding build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Instruct CMake to run moc automatically when needed.
set(CMAKE_AUTOMOC ON)
# Instruct CMake to create code from Qt designer ui files
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
# Find the QtWidgets library
find_package(Qt5 COMPONENTS Core Gui Widgets REQUIRED)
set(ukuithemecustomizer_SRC
src/iniThemeTemplate.qrc
src/main.cpp
)
# Tell CMake to create the helloworld executable
add_executable(ukuithemecustomizer ${ukuithemecustomizer_SRC})
add_subdirectory(src/packagecreator/)
add_subdirectory(src/ukuithemecustomizerwindow/)
add_subdirectory(src/settingmanager/)
add_subdirectory(src/ukuithemeelement/)
add_subdirectory(src/globalthemecreator/)
target_link_libraries(ukuithemecustomizer
Qt5::Core
Qt5::Widgets
packagecreator
ukuithemecustomizerwindow
settingmanager
ukuithemeelement
globalthemecreator
)
# Install the executable
install(TARGETS ukuithemecustomizer DESTINATION bin)