-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakePresets.json
38 lines (38 loc) · 1.69 KB
/
CMakePresets.json
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
{
"version": 6,
"configurePresets": [
{
"name": "base",
"hidden": true,
"generator": "Ninja",
"warnings": {"systemVars": true},
"errors": {"deprecated": true, "dev": true},
"binaryDir": "${sourceDir}/build-${presetName}",
"environment": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON" ,
"CMAKE_COLOR_DIAGNOSTICS": "ON",
"CMAKE_BUILD_TYPE": "Debug"
}
},
{"name": "default", "inherits": ["base"], "toolchainFile": ".toolchain.cmake", "environment": {"CMAKE_BUILD_TYPE": "Debug"}},
{"name": "RelWithDebInfo", "inherits": ["base"], "toolchainFile": ".toolchain.cmake", "environment": {"CMAKE_BUILD_TYPE": "RelWithDebInfo"}}
],
"buildPresets": [
{"name": "default", "jobs": 14, "configurePreset": "default"},
{"name": "RelWithDebInfo", "jobs": 14, "configurePreset": "RelWithDebInfo"}
],
"testPresets": [
{"name": "default", "configurePreset": "default", "output": {"outputOnFailure": true}},
{"name": "summary", "inherits": ["default"], "output": {"outputOnFailure": false}},
{"name": "RelWithDebInfo", "configurePreset": "RelWithDebInfo", "output": {"outputOnFailure": true}}
],
"workflowPresets": [{"name": "default", "steps": [
{"type": "configure", "name": "default"},
{"type": "build", "name": "default"},
{"type": "test", "name": "default"}
]},{"name": "RelWithDebInfo", "steps": [
{"type": "configure", "name": "RelWithDebInfo"},
{"type": "build", "name": "RelWithDebInfo"},
{"type": "test", "name": "RelWithDebInfo"}
]}]
}