-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
53 lines (53 loc) · 1.33 KB
/
CMakePresets.json
File metadata and controls
53 lines (53 loc) · 1.33 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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 25
},
"configurePresets": [
{
"name": "base",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/build/generators/conan_toolchain.cmake",
"CMAKE_POLICY_DEFAULT_CMP0091": "NEW"
}
},
{
"name": "windows-debug",
"inherits": "base",
"displayName": "Windows Debug",
"description": "Target Windows Debug build",
"generator": "Visual Studio 17 2022",
"architecture": "x64",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "macos-debug",
"inherits": "base",
"displayName": "macOS Debug",
"description": "Target macOS Debug build",
"generator": "Xcode",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "android-debug",
"inherits": "base",
"displayName": "Android ARM64",
"crossReferences": {
"note": "Android usually handled by Gradle calling CMake, but useful for command line"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"ANDROID_ABI": "arm64-v8a",
"ANDROID_PLATFORM": "android-24"
}
}
]
}