FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
tdesktop/CMakeLists.txt at dev · feccruz/tdesktop · GitHub
feccruz
/
tdesktop
Public
forked from
telegramdesktop/tdesktop
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
tdesktop
/
CMakeLists.txt
Copy path
More file actions
More file actions
Latest commit
History
History
History
74 lines (62 loc) · 2.17 KB
Breadcrumbs
tdesktop
/
CMakeLists.txt
Copy path
File metadata and controls
74 lines (62 loc) · 2.17 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#
This file is part of Telegram Desktop,
#
the official desktop application for the Telegram messaging service.
#
#
For license and copyright information please follow this link:
#
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
if
(
APPLE
)
#
target_precompile_headers with COMPILE_LANGUAGE restriction.
cmake_minimum_required
(
VERSION
3.23
)
else
()
cmake_minimum_required
(
VERSION
3.16
)
endif
()
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
(
Telegram/build/version
)
set
(project_langs C CXX)
if
(
APPLE
)
list
(
APPEND
project_langs OBJC OBJCXX)
elseif
(
LINUX
)
list
(
APPEND
project_langs ASM)
endif
()
project
(Telegram
LANGUAGES
${project_langs}
VERSION
${desktop_app_version_cmake}
DESCRIPTION
"Official Telegram Desktop messenger"
HOMEPAGE_URL
"https://desktop.telegram.org"
)
set_property
(
DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
PROPERTY
VS_STARTUP_PROJECT Telegram)
get_filename_component
(
third_party_loc
"Telegram/ThirdParty"
REALPATH
)
get_filename_component
(
submodules_loc
"Telegram"
REALPATH
)
get_filename_component
(
cmake_helpers_loc
"cmake"
REALPATH
)
if
(
NOT
DESKTOP_APP_USE_PACKAGED
AND
WIN32
)
set
(Python3_EXECUTABLE
${
CMAKE_CURRENT_SOURCE_DIR
}
/../ThirdParty/python/Scripts/python)
endif
()
include
(
cmake/variables.cmake
)
include
(
cmake/nice_target_sources.cmake
)
include
(
cmake/target_compile_options_if_exists.cmake
)
include
(
cmake/target_link_frameworks.cmake
)
include
(
cmake/target_link_optional_libraries.cmake
)
include
(
cmake/target_link_options_if_exists.cmake
)
include
(
cmake/target_link_static_libraries.cmake
)
include
(
cmake/init_target.cmake
)
include
(
cmake/generate_target.cmake
)
include
(
cmake/nuget.cmake
)
include
(
cmake/validate_d3d_compiler.cmake
)
include
(
cmake/target_prepare_qrc.cmake
)
include
(
cmake/options.cmake
)
if
(
NOT
DESKTOP_APP_USE_PACKAGED)
if
(
WIN32
)
set
(qt_version 5.15.10)
elseif
(
APPLE
)
set
(qt_version 6.2.5)
endif
()
endif
()
include
(
cmake/external/qt/package.cmake
)
set
(desktop_app_skip_libs
variant
)
add_subdirectory
(
cmake
)
add_subdirectory
(
Telegram
)
Back
|
FazBrowse Home
|
New Git URL