forked from P0k3rf4ce/SauceEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
executable file
·56 lines (56 loc) · 1.83 KB
/
Copy pathCMakePresets.json
File metadata and controls
executable file
·56 lines (56 loc) · 1.83 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
{
"version": 3,
"configurePresets": [
{
"name": "vcpkg",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"VCPKG_INSTALLED_DIR": "${sourceDir}/build/vcpkg_installed",
"BUILD_TESTS": "OFF"
}
},
{
"name": "default",
"inherits": "vcpkg",
"displayName": "Default (macOS arm64)",
"description": "Primary ScrapEngine configure preset → ./build",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "arm64-osx"
}
},
{
"name": "macos-vcpkg",
"inherits": "default",
"displayName": "macOS (arm64)",
"description": "Alias of preset default (same ./build)."
},
{
"name": "ios-vcpkg",
"inherits": "vcpkg",
"generator": "Xcode",
"binaryDir": "${sourceDir}/build-ios-xcode",
"displayName": "iOS device (arm64)",
"description": "Physical device / generic iOS. Uses vcpkg arm64-ios. Do not use for Simulator — use ios-simulator-vcpkg.",
"cacheVariables": {
"CMAKE_SYSTEM_NAME": "iOS",
"VCPKG_INSTALLED_DIR": "${sourceDir}/build-ios-xcode/vcpkg_installed",
"VCPKG_TARGET_TRIPLET": "arm64-ios"
}
},
{
"name": "ios-simulator-vcpkg",
"inherits": "vcpkg",
"generator": "Xcode",
"binaryDir": "${sourceDir}/build-ios-simulator-xcode",
"displayName": "iOS Simulator (arm64)",
"description": "Simulator on Apple Silicon Mac. vcpkg triplet arm64-ios-simulator + iphonesimulator SDK.",
"cacheVariables": {
"CMAKE_SYSTEM_NAME": "iOS",
"CMAKE_OSX_SYSROOT": "iphonesimulator",
"VCPKG_INSTALLED_DIR": "${sourceDir}/build-ios-simulator-xcode/vcpkg_installed",
"VCPKG_TARGET_TRIPLET": "arm64-ios-simulator"
}
}
]
}