Repository navigation
Expand file tree
/
Copy pathCMakePresets.json
More file actions
179 lines (179 loc) · 5.44 KB
/
Copy pathCMakePresets.json
File metadata and controls
179 lines (179 loc) · 5.44 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
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
"version": 5,
"cmakeMinimumRequired": {
"major": 3,
"minor": 22
},
"configurePresets": [
{
"name": "linux-gcc-debug",
"displayName": "Linux GCC Debug (vcpkg)",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/linux-gcc-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_CXX_COMPILER": "/usr/bin/g++-13",
"CMAKE_CXX_STANDARD": "20",
"CMAKE_TOOLCHAIN_FILE": "$env{HOME}/dev/vcpkg/scripts/buildsystems/vcpkg.cmake",
"VCPKG_TARGET_TRIPLET": "x64-linux",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "linux-gcc-release",
"displayName": "Linux GCC Release (vcpkg)",
"inherits": "linux-gcc-debug",
"binaryDir": "${sourceDir}/build/linux-gcc-release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "linux-gcc-perf",
"displayName": "Linux GCC RelWithDebInfo (perf, vcpkg)",
"inherits": "linux-gcc-debug",
"binaryDir": "${sourceDir}/build/linux-gcc-perf",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_CXX_FLAGS_RELWITHDEBINFO": "-O3 -g -fno-omit-frame-pointer"
}
},
{
"name": "linux-gcc-coverage",
"displayName": "Linux GCC Coverage (vcpkg)",
"inherits": "linux-gcc-debug",
"binaryDir": "${sourceDir}/build/linux-gcc-coverage",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"UNIFIEDVOL_ENABLE_COVERAGE": "ON"
}
}
],
"buildPresets": [
{
"name": "linux-gcc-debug",
"configurePreset": "linux-gcc-debug"
},
{
"name": "linux-gcc-release",
"configurePreset": "linux-gcc-release"
},
{
"name": "linux-gcc-perf",
"configurePreset": "linux-gcc-perf"
},
{
"name": "linux-gcc-coverage",
"configurePreset": "linux-gcc-coverage"
},
{
"name": "linux-gcc-release-tests",
"configurePreset": "linux-gcc-release",
"targets": [
"unifiedvol_tests"
]
},
{
"name": "linux-gcc-perf-tests",
"configurePreset": "linux-gcc-perf",
"targets": [
"unifiedvol_tests"
]
},
{
"name": "linux-gcc-coverage-tests",
"configurePreset": "linux-gcc-coverage",
"targets": [
"unifiedvol_tests"
]
}
],
"testPresets": [
{
"name": "linux-gcc-release-nonperformance",
"configurePreset": "linux-gcc-release",
"displayName": "Linux GCC Release tests except performance",
"filter": {
"exclude": {
"label": "performance"
}
},
"output": {
"outputOnFailure": true
}
},
{
"name": "linux-gcc-release-full",
"configurePreset": "linux-gcc-release",
"displayName": "Linux GCC Release full test suite",
"output": {
"outputOnFailure": true
}
},
{
"name": "linux-gcc-release-unit",
"configurePreset": "linux-gcc-release",
"displayName": "Linux GCC Release unit tests",
"filter": {
"include": {
"label": "unit"
}
},
"output": {
"outputOnFailure": true
}
},
{
"name": "linux-gcc-release-integration",
"configurePreset": "linux-gcc-release",
"displayName": "Linux GCC Release integration tests",
"filter": {
"include": {
"label": "integration"
}
},
"output": {
"outputOnFailure": true
}
},
{
"name": "linux-gcc-release-regression",
"configurePreset": "linux-gcc-release",
"displayName": "Linux GCC Release regression tests",
"filter": {
"include": {
"label": "regression"
}
},
"output": {
"outputOnFailure": true
}
},
{
"name": "linux-gcc-perf-performance",
"configurePreset": "linux-gcc-perf",
"displayName": "Linux GCC perf build performance tests",
"filter": {
"include": {
"label": "performance"
}
},
"output": {
"outputOnFailure": true
}
},
{
"name": "linux-gcc-coverage-nonperformance",
"configurePreset": "linux-gcc-coverage",
"displayName": "Linux GCC coverage tests except performance",
"filter": {
"exclude": {
"label": "performance"
}
},
"output": {
"outputOnFailure": true
}
}
]
}