-
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.46 KB
/
CMakePresets.json
File metadata and controls
40 lines (40 loc) · 1.46 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": 3,
"configurePresets": [
{
"name": "default",
"displayName": "Default Config",
"description": "Default build using Ninja generator (caching enabled)",
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_DEFAULT_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": true,
"%%CPP_INIT_REPLACE%%_BUILD_TESTING": true,
"%%CPP_INIT_REPLACE%%_ENABLE_CACHE": true,
"%%CPP_INIT_REPLACE%%_ENABLE_SANITIZERS": "Debug;RelWithDebInfo",
"%%CPP_INIT_REPLACE%%_ENABLE_COVERAGE": true,
"%%CPP_INIT_REPLACE%%_ENABLE_CPPCHECK": true,
"%%CPP_INIT_REPLACE%%_ENABLE_CLANG_TIDY": true,
"%%CPP_INIT_REPLACE%%_ENABLE_DOXYGEN": true,
"%%CPP_INIT_REPLACE%%_ENABLE_MACRO_PREFIX": "Release"
}
},
{
"name": "ci",
"displayName": "CI ",
"description": "Preset for CI",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": false,
"%%CPP_INIT_REPLACE%%_BUILD_TESTING": true,
"%%CPP_INIT_REPLACE%%_ENABLE_CACHE": false,
"%%CPP_INIT_REPLACE%%_ENABLE_SANITIZERS": true,
"%%CPP_INIT_REPLACE%%_ENABLE_CPPCHECK": true,
"%%CPP_INIT_REPLACE%%_ENABLE_CLANG_TIDY": true,
"%%CPP_INIT_REPLACE%%_ENABLE_DOXYGEN": false,
"%%CPP_INIT_REPLACE%%_ENABLE_MACRO_PREFIX": "Release",
"%%CPP_INIT_REPLACE%%_WARNINGS_AS_ERRORS": true
}
}
]
}