-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
123 lines (123 loc) · 3.24 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"version": 2,
"configurePresets": [
{
"name": "debug",
"displayName": "Debug build",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"KNUT_ERROR_ON_WARN": "ON"
}
},
{
"name": "debug-asan",
"displayName": "Debug Asan build",
"inherits": "debug",
"binaryDir": "${sourceDir}/build-debug-asan",
"cacheVariables": {
"USE_ASAN": "ON"
}
},
{
"name": "release",
"displayName": "Release build",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "profile",
"displayName": "Profile build",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-profile",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "ci",
"displayName": "CI build",
"binaryDir": "${sourceDir}/build-ci",
"generator": "Ninja",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_MSVC_DEBUG_INFORMATION_FORMAT": "Embedded",
"KNUT_ERROR_ON_WARN": "ON"
}
},
{
"name": "clazy",
"displayName": "Clazy build",
"binaryDir": "${sourceDir}/build-clazy",
"inherits": "ci",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "clazy"
}
}
],
"buildPresets": [
{
"name": "debug",
"configurePreset": "debug"
},
{
"name": "debug-asan",
"configurePreset": "debug-asan"
},
{
"name": "profile",
"configurePreset": "profile"
},
{
"name": "release",
"configurePreset": "release"
},
{
"name": "ci",
"configurePreset": "ci"
},
{
"name": "clazy",
"configurePreset": "clazy"
}
],
"testPresets": [
{
"name": "ci",
"configurePreset": "ci",
"output": {
"outputOnFailure": true
},
"execution": {
"noTestsAction": "error",
"stopOnFailure": true
},
"environment": {
"QT_QPA_PLATFORM": "offscreen"
}
},
{
"name": "clazy",
"inherits": "ci",
"configurePreset": "clazy"
},
{
"name": "debug",
"inherits": "ci",
"configurePreset": "debug",
"execution": {
"noTestsAction": "error",
"stopOnFailure": false
}
},
{
"name": "debug-asan",
"inherits": "debug",
"configurePreset": "debug-asan"
}
]
}