-
Notifications
You must be signed in to change notification settings - Fork 84
/
CMakeLists.txt
54 lines (44 loc) · 1.4 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
43
44
45
46
47
48
49
50
51
52
53
54
# This file is part of TON Wallet Desktop,
# a desktop application for the TON Blockchain project.
#
# For license and copyright information please follow this link:
# https://github.com/ton-blockchain/wallet-desktop/blob/master/LEGAL
cmake_minimum_required(VERSION 3.16)
cmake_policy(SET CMP0076 NEW)
cmake_policy(SET CMP0091 NEW)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
include(cmake/validate_special_target.cmake)
include(cmake/version.cmake)
desktop_app_parse_version(Wallet/build/version)
project(Wallet
LANGUAGES C CXX
VERSION ${desktop_app_version_cmake}
DESCRIPTION "Test TON Wallet"
HOMEPAGE_URL "https://wallet.ton.org"
)
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT Wallet)
get_filename_component(third_party_loc "Wallet/ThirdParty" REALPATH)
get_filename_component(submodules_loc "Wallet" REALPATH)
include(cmake/variables.cmake)
include(cmake/nice_target_sources.cmake)
include(cmake/target_link_static_libraries.cmake)
include(cmake/target_link_frameworks.cmake)
include(cmake/init_target.cmake)
include(cmake/generate_target.cmake)
include(cmake/options.cmake)
include(cmake/external/qt/package.cmake)
set(desktop_app_skip_libs
dbusmenu_qt
ffmpeg
hunspell
iconv
lz4
minizip
openal
opus
sp_media_key_tap
statusnotifieritem
)
set(DESKTOP_APP_LOTTIE_USE_CACHE OFF)
add_subdirectory(cmake)
add_subdirectory(Wallet)