-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
38 lines (27 loc) · 1.08 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
# SPDX-FileCopyrightText: 2024 Nick Korotysh <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-or-later
cmake_minimum_required(VERSION 3.19)
project(DigitalClock5 VERSION 5.0.4 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
find_package(Qt6 6.7 REQUIRED COMPONENTS Widgets Network Svg
OPTIONAL_COMPONENTS Multimedia LinguistTools)
qt_standard_project_setup(I18N_TRANSLATED_LANGUAGES en ru pt_PT zh_CN)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
include(clock_utils)
set(CLOCK_PROJECT_NAME ${PROJECT_NAME})
set(CLOCK_VERSION ${PROJECT_VERSION})
set(CLOCK_VERSION_MAJOR ${PROJECT_VERSION_MAJOR})
set(CLOCK_VERSION_MINOR ${PROJECT_VERSION_MINOR})
set(CLOCK_VERSION_PATCH ${PROJECT_VERSION_PATCH})
# dist should be included first, as it defines some important variables
add_subdirectory(dist)
add_subdirectory(3rdparty)
add_subdirectory(app)
add_subdirectory(clock_common)
add_subdirectory(plugin_core)
add_subdirectory(plugins)
add_subdirectory(skin_engine)