-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Expand file tree
/
Copy pathCMakePresets.json
More file actions
92 lines (92 loc) · 2.69 KB
/
Copy pathCMakePresets.json
File metadata and controls
92 lines (92 loc) · 2.69 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"version": 6,
"cmakeMinimumRequired": { "major": 3, "minor": 25, "patch": 0 },
"configurePresets": [
{
"name": "base",
"hidden": true,
"binaryDir": "${sourceDir}/build",
"generator": "Ninja",
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "release",
"inherits": "base",
"displayName": "Release",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Release" }
},
{
"name": "debug",
"inherits": "base",
"displayName": "Debug",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" }
},
{
"name": "asan",
"inherits": "debug",
"displayName": "Debug + ASan/UBSan",
"cacheVariables": {
"ENABLE_SANITIZER": "ON",
"ENABLE_ASSERTIONS": "ON"
}
},
{
"name": "ci-linux",
"inherits": "release",
"cacheVariables": { "VCPKG_TARGET_TRIPLET": "x64-linux" }
},
{
"name": "ci-linux-debug",
"inherits": "debug",
"cacheVariables": { "VCPKG_TARGET_TRIPLET": "x64-linux" }
},
{
"name": "ci-linux-asan",
"inherits": "asan",
"cacheVariables": { "VCPKG_TARGET_TRIPLET": "x64-linux" }
},
{
"name": "ci-macos-arm64",
"inherits": "release",
"cacheVariables": { "VCPKG_TARGET_TRIPLET": "arm64-osx" }
},
{
"name": "ci-macos-x64",
"inherits": "release",
"cacheVariables": { "VCPKG_TARGET_TRIPLET": "x64-osx" }
},
{
"name": "ci-windows",
"inherits": "release",
"generator": "Visual Studio 18 2026",
"cacheVariables": { "VCPKG_TARGET_TRIPLET": "x64-windows-static-md" }
}
],
"buildPresets": [
{ "name": "release", "configurePreset": "release" },
{ "name": "debug", "configurePreset": "debug" },
{ "name": "asan", "configurePreset": "asan" },
{ "name": "ci-linux", "configurePreset": "ci-linux" },
{ "name": "ci-linux-debug", "configurePreset": "ci-linux-debug" },
{ "name": "ci-linux-asan", "configurePreset": "ci-linux-asan" },
{ "name": "ci-macos-arm64", "configurePreset": "ci-macos-arm64" },
{ "name": "ci-macos-x64", "configurePreset": "ci-macos-x64" },
{ "name": "ci-windows", "configurePreset": "ci-windows", "configuration": "Release" }
],
"testPresets": [
{
"name": "release",
"configurePreset": "release",
"output": { "outputOnFailure": true },
"execution": { "noTestsAction": "error", "stopOnFailure": false }
},
{
"name": "ci-linux",
"inherits": "release",
"configurePreset": "ci-linux"
}
]
}