-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCMakePresets.json
More file actions
77 lines (77 loc) · 2.32 KB
/
Copy pathCMakePresets.json
File metadata and controls
77 lines (77 loc) · 2.32 KB
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
{
"version": 8,
"configurePresets": [
{
"name": "base",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/build"
},
{
"name": "host-debug",
"displayName": "Host build (Debug)",
"inherits": "base",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" }
},
{
"name": "host-release",
"displayName": "Host build (Release)",
"inherits": "base",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Release" }
},
{
"name": "ios-base",
"hidden": true,
"inherits": "base",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "arm64-ios",
"VCPKG_CHAINLOAD_TOOLCHAIN_FILE": "${sourceDir}/overlaytriplets/arm64-ios.cmake",
"PLATFORM": "OS64",
"DEPLOYMENT_TARGET": "26.0"
}
},
{
"name": "ios-debug",
"displayName": "iOS cross-build (arm64-ios, Debug)",
"inherits": "ios-base",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" }
},
{
"name": "ios-release",
"displayName": "iOS cross-build (arm64-ios, Release)",
"inherits": "ios-base",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Release" }
},
{
"name": "android-base",
"hidden": true,
"inherits": "base",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "arm64-android",
"VCPKG_CHAINLOAD_TOOLCHAIN_FILE": "$env{ANDROID_NDK}/build/cmake/android.toolchain.cmake",
"ANDROID_ABI": "arm64-v8a",
"ANDROID_PLATFORM": "24"
}
},
{
"name": "android-debug",
"displayName": "Android cross-build (arm64-android, Debug)",
"inherits": "android-base",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" }
},
{
"name": "android-release",
"displayName": "Android cross-build (arm64-android, Release)",
"inherits": "android-base",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Release" }
}
],
"buildPresets": [
{ "name": "host-debug", "configurePreset": "host-debug" },
{ "name": "host-release", "configurePreset": "host-release" },
{ "name": "ios-debug", "configurePreset": "ios-debug" },
{ "name": "ios-release", "configurePreset": "ios-release" },
{ "name": "android-debug", "configurePreset": "android-debug" },
{ "name": "android-release", "configurePreset": "android-release" }
]
}