-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakePresets.json
48 lines (48 loc) · 1.32 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
39
40
41
42
43
44
45
46
47
48
{
"version": 3,
"configurePresets": [
{
"name": "default",
"displayName": "Default Config",
"description": "Default build using Unix Makefiles generator",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"ENABLE_CACHE": false,
"CMAKE_EXPORT_COMPILE_COMMANDS": true
}
},
{
"name": "make",
"displayName": "Makefile Config",
"description": "Default build using Unix Makefiles generator",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {}
},
{
"name": "ninja",
"displayName": "Ninja Config",
"description": "Default build using Unix Makefiles generator",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {}
},
{
"name": "ci",
"displayName": "CI Config",
"description": "Configuration made to be ran in CI",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"BUILD_TESTING": true,
"ENABLE_SANITIZERS": true,
"ENABLE_DOXYGEN": false,
"WARNINGS_AS_ERRORS": true,
"CMAKE_EXPORT_COMPILE_COMMANDS": false,
"ENABLE_CACHE": false,
"ENABLE_CLANG_TIDY": false,
"ENABLE_CLANG_TIDY_FULL": false
}
}
]
}