-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
40 lines (40 loc) · 1.2 KB
/
CMakePresets.json
File metadata and controls
40 lines (40 loc) · 1.2 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
{
"version": 6,
"configurePresets": [
{
"name": "dev-ninja",
"displayName": "Dev (Ninja, Debug)",
"generator": "Ninja",
"binaryDir": "build-ninja",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "release",
"displayName": "Release (Ninja, Release)",
"generator": "Ninja",
"binaryDir": "build-release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "dev-msvc",
"displayName": "Dev (MSVC, Release)",
"generator": "Visual Studio 17 2022",
"architecture": { "value": "x64" },
"binaryDir": "build-msvc",
"cacheVariables": {
"CMAKE_CONFIGURATION_TYPES": "Release"
}
}
],
"buildPresets": [
{ "name": "build-ninja", "displayName": "Build (ALL, Ninja Debug)", "configurePreset": "dev-ninja" },
{ "name": "build-release", "displayName": "Build (ALL, Ninja Release)", "configurePreset": "release" },
{ "name": "build-msvc", "displayName": "Build (ALL, MSVC)", "configurePreset": "dev-msvc", "configuration": "Release" }
]
}