-
Notifications
You must be signed in to change notification settings - Fork 1k
/
.cmake.conf
68 lines (58 loc) · 3.06 KB
/
.cmake.conf
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
# set (git) module specific defines, but only if we are actually qtbase
# do _not_ set them as the global toplevel configuration
# we check for QT_REPO_MODULE_VERSION before defining it below; that will
# ensure that when this file is included the second time in a toplevel buld
# (directly by qtbase) we actually add the extra definitions
if (NOT DEFINED QT_SUPERBUILD OR DEFINED QT_REPO_MODULE_VERSION)
set(QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_LEAN_HEADERS=1")
endif()
set(QT_REPO_MODULE_VERSION "6.9.0")
set(QT_REPO_MODULE_PRERELEASE_VERSION_SEGMENT "alpha1")
set(QT_COPYRIGHT "Copyright (C) The Qt Company Ltd. and other contributors.")
# Minimum requirement for building Qt
set(QT_SUPPORTED_MIN_CMAKE_VERSION_FOR_BUILDING_QT_SHARED "3.16")
set(QT_SUPPORTED_MIN_CMAKE_VERSION_FOR_BUILDING_QT_STATIC "3.21")
set(QT_SUPPORTED_MIN_CMAKE_VERSION_FOR_BUILDING_QT_APPLE "3.21")
# Minimum requirement for consuming Qt in a user project.
# This might be different in the future, e.g. be lower than the requirement for
# building Qt.
set(QT_SUPPORTED_MIN_CMAKE_VERSION_FOR_USING_QT_SHARED "3.16")
set(QT_SUPPORTED_MIN_CMAKE_VERSION_FOR_USING_QT_STATIC "3.21")
set(QT_SUPPORTED_MIN_CMAKE_VERSION_FOR_USING_QT_APPLE "3.21")
# Policy settings for commands defined by qtbase.
# These will also be injected into the top level policy scope of each Qt
# repo when building Qt so that repos have the same policy settings as
# qtbase by default. They can be overridden by individual Qt repos
# in their own .cmake.conf files if needed.
# This affects both internal and public api commands, because the policies are
# written into the generated QtFooConfig.cmake.in files.
#
# NOTE: Some of these values are also hard-coded in
# QtBuildInternalsConfig.cmake at the top of the file
# because that file is used in-place by a superbuild, so there is no
# opportunity for substituting the values from here. Keep both locations
# in sync.
# TODO: Figure out how to handle the platform values there
# given we now set them conditionally
set(QT_MIN_NEW_POLICY_CMAKE_VERSION_QT_SHARED "3.16")
set(QT_MIN_NEW_POLICY_CMAKE_VERSION_QT_STATIC "3.16")
set(QT_MIN_NEW_POLICY_CMAKE_VERSION_QT_APPLE "3.16")
set(QT_MAX_NEW_POLICY_CMAKE_VERSION_QT_SHARED "3.21")
set(QT_MAX_NEW_POLICY_CMAKE_VERSION_QT_STATIC "3.21")
set(QT_MAX_NEW_POLICY_CMAKE_VERSION_QT_APPLE "3.21")
# Apple version constraints. Used when building Qt and documentation
set(QT_SUPPORTED_MIN_MACOS_SDK_VERSION "14")
set(QT_SUPPORTED_MAX_MACOS_SDK_VERSION "15")
set(QT_SUPPORTED_MIN_MACOS_XCODE_VERSION "15")
set(QT_SUPPORTED_MIN_MACOS_VERSION "12")
set(QT_SUPPORTED_MAX_MACOS_VERSION_TESTED "15")
set(QT_SUPPORTED_MIN_IOS_SDK_VERSION "17")
set(QT_SUPPORTED_MAX_IOS_SDK_VERSION "18")
set(QT_SUPPORTED_MIN_IOS_XCODE_VERSION "15")
set(QT_SUPPORTED_MIN_IOS_VERSION "16")
set(QT_SUPPORTED_MAX_IOS_VERSION_TESTED "18")
set(QT_SUPPORTED_MIN_VISIONOS_SDK_VERSION "1")
set(QT_SUPPORTED_MAX_VISIONOS_SDK_VERSION "2")
set(QT_SUPPORTED_MIN_VISIONOS_XCODE_VERSION "15")
set(QT_SUPPORTED_MIN_VISIONOS_VERSION "1")
set(QT_SUPPORTED_MAX_VISIONOS_VERSION_TESTED "2")