This repository has been archived by the owner on Jul 19, 2024. It is now read-only.
forked from PickNikRobotics/RSL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
63 lines (63 loc) · 1.9 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
53
54
55
56
57
58
59
60
61
62
63
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 22,
"patch": 0
},
"configurePresets": [
{
"name": "relwithdebinfo",
"displayName": "RelWithDebInfo",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/relwithdebinfo",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_EXE_LINKER_FLAGS": "-fuse-ld=lld",
"CMAKE_MODULE_LINKER_FLAGS": "-fuse-ld=lld",
"CMAKE_SHARED_LINKER_FLAGS": "-fuse-ld=lld"
},
"warnings": {
"unusedCli": false
}
},
{
"name": "debug",
"inherits": "relwithdebinfo",
"displayName": "Debug",
"binaryDir": "${sourceDir}/build/debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "release",
"inherits": "relwithdebinfo",
"displayName": "Release",
"binaryDir": "${sourceDir}/build/release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "asan",
"inherits": "debug",
"displayName": "Address sanitizer debug",
"binaryDir": "${sourceDir}/build/asan",
"cacheVariables": {
"CMAKE_CXX_FLAGS": "-fsanitize=address"
}
},
{
"name": "codecov",
"inherits": "debug",
"displayName": "Code coverage reporting",
"binaryDir": "${sourceDir}/build/codecov",
"cacheVariables": {
"CMAKE_CXX_FLAGS": "--coverage"
}
}
]
}