-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakePresets.json
52 lines (52 loc) · 1.18 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
49
50
51
52
{
"version": 3,
"configurePresets":[
{
"name": "dev",
"binaryDir": "build",
"installDir": "build/install",
"toolchainFile": "cmake/vcpkg/scripts/buildsystems/vcpkg.cmake",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_CXX_EXTENSIONS": "OFF",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_RUNTIME_OUTPUT_DIRECTORY": "${sourceDir}/build/bin",
"ARGON_ENABLE_WARNINGS": "ON",
"ARGON_BUILD_TESTING": "ON",
"ARGON_BUILD_EXAMPLES": "ON"
}
},
{
"name": "coverage",
"inherits": "dev",
"cacheVariables": {
"CMAKE_CXX_FLAGS": "--coverage"
}
},
{
"name": "sanitizers",
"inherits": "dev",
"cacheVariables": {
"CMAKE_CXX_FLAGS": "-fno-omit-frame-pointer -fno-sanitize-recover=all -fsanitize=address,undefined"
}
}
],
"buildPresets":[
{
"name": "dev",
"configurePreset": "dev",
"jobs": 4,
"targets": ["install"]
}
],
"testPresets":[
{
"name": "dev",
"configurePreset": "dev",
"output": {
"shortProgress": true,
"outputOnFailure": true
}
}
]
}