-
Notifications
You must be signed in to change notification settings - Fork 346
/
CMakePresets.json
183 lines (173 loc) · 5.91 KB
/
CMakePresets.json
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
{
"version": 1,
"configurePresets": [
{
"name": "ci-base",
"hidden": true,
"generator": "Ninja",
"binaryDir": "build-${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": {
"type": "STRING",
"value": "Debug"
}
}
},
{
"name": "ci-sibling-build",
"hidden": true,
"cacheVariables": {
"LIBS_INSTALL_PREFIX": {
"type": "PATH",
"value": "${sourceDir}/libsinstall-${presetName}"
}
}
},
{
"name": "ci-qt6",
"hidden": true,
"cacheVariables": {
"QT_VERSION_MAJOR": {
"type": "STRING",
"value": "6"
}
}
},
{
"name": "qt5",
"inherits": "ci-base",
"displayName": "Native system qt5"
},
{
"name": "qt6",
"inherits": [ "ci-base", "ci-qt6" ],
"displayName": "Native system qt6"
},
{
"name": "android-v7-qt5",
"inherits": [ "ci-base", "ci-sibling-build" ],
"displayName": "Android armeabi-v7a qt5 (separate lib install)",
"cacheVariables": {
"CMAKE_ANDROID_ARCH_ABI": {
"type": "STRING",
"value": "armeabi-v7a"
}
}
},
{
"name": "android-v7-qt6",
"inherits": [ "android-v7-qt5", "ci-sibling-build", "ci-qt6" ],
"displayName": "Android armeabi-v7a qt6 (separate lib install)"
},
{
"name": "android-v8-qt5",
"inherits": [ "ci-base", "ci-sibling-build" ],
"displayName": "Android arm64-v8a qt5 (separate lib install)",
"cacheVariables": {
"CMAKE_ANDROID_ARCH_ABI": {
"type": "STRING",
"value": "arm64-v8a"
}
}
},
{
"name": "android-v8-qt6",
"inherits": [ "android-v8-qt5", "ci-sibling-build", "ci-qt6" ],
"displayName": "Android arm64-v8a qt6 (separate lib install)"
},
{
"name": "android-x86-qt5",
"inherits": [ "ci-base", "ci-sibling-build" ],
"displayName": "Android x86 qt5 (separate lib install)",
"cacheVariables": {
"CMAKE_ANDROID_ARCH_ABI": {
"type": "STRING",
"value": "x86"
}
}
},
{
"name": "android-x86-qt6",
"inherits": [ "android-x86-qt5", "ci-sibling-build", "ci-qt6" ],
"displayName": "Android x86 qt6 (separate lib install)"
},
{
"name": "android-x86_64-qt5",
"inherits": [ "ci-base", "ci-sibling-build" ],
"displayName": "Android x86_64 qt5 (separate lib install)",
"cacheVariables": {
"CMAKE_ANDROID_ARCH_ABI": {
"type": "STRING",
"value": "x86_64"
}
}
},
{
"name": "android-x86_64-qt6",
"inherits": [ "android-x86_64-qt5", "ci-sibling-build", "ci-qt6" ],
"displayName": "Android x86_64 qt6 (separate lib install)"
},
{
"name": "fire-stick-4k",
"inherits": [ "android-v7-qt5", "ci-sibling-build" ],
"displayName": "Fire Stick 4K qt5 (separate lib install)",
"cacheVariables": {
"ANDROID_SDK_BUILD_TOOLS_REVISION": "34.0.0",
"CMAKE_ANDROID_NDK": {
"type": "PATH",
"value": "$env{HOME}/Android/Sdk/ndk/26.1.10909125"
},
"ANDROID_MIN_SDK_VERSION": "25",
"ANDROID_TARGET_SDK_VERSION": "25",
"ANDROID_PLATFORM": "android-25"
}
},
{
"name": "fire-stick-4k-max",
"inherits": [ "android-v7-qt5", "ci-sibling-build" ],
"displayName": "Fire Stick 4K Max qt5 (separate lib install)",
"cacheVariables": {
"ANDROID_SDK_BUILD_TOOLS_REVISION": "34.0.0",
"CMAKE_ANDROID_NDK": {
"type": "PATH",
"value": "$env{HOME}/Android/Sdk/ndk/26.1.10909125"
},
"ANDROID_MIN_SDK_VERSION": "25",
"ANDROID_TARGET_SDK_VERSION": "28",
"ANDROID_PLATFORM": "android-28"
}
},
{
"name": "nvidia-shield",
"inherits": [ "android-v8-qt5", "ci-sibling-build" ],
"displayName": "Nvidia Shield qt5 (separate lib install)",
"cacheVariables": {
"ANDROID_SDK_BUILD_TOOLS_REVISION": "34.0.0",
"CMAKE_ANDROID_NDK": {
"type": "PATH",
"value": "$env{HOME}/Android/Sdk/ndk/26.1.10909125"
},
"ANDROID_MIN_SDK_VERSION": "25",
"ANDROID_TARGET_SDK_VERSION": "29",
"ANDROID_PLATFORM": "android-29"
}
},
{
"name": "mingw-qt5",
"inherits": [ "ci-base", "ci-sibling-build" ],
"displayName": "Windows qt5 (separate lib install)",
"cacheVariables":
{
"CMAKE_TOOLCHAIN_FILE": {
"type": "FILEPATH",
"value": "${sourceDir}/cmake/mingw-w64-x86_64.cmake"
}
}
},
{
"name": "mingw-qt6",
"inherits": [ "mingw-qt5", "ci-sibling-build", "ci-qt6" ],
"displayName": "Windows qt6 (separate lib install, not working)"
}
]
}