-
Notifications
You must be signed in to change notification settings - Fork 67
Expand file tree
/
Copy pathCMakePresets.json
More file actions
74 lines (71 loc) · 2.22 KB
/
CMakePresets.json
File metadata and controls
74 lines (71 loc) · 2.22 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
{
"version": 3,
"configurePresets": [
{
"name": "common",
"hidden": true,
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_CXX_STANDARD": "20",
"CMAKE_CXX_FLAGS": " -fdiagnostics-color=always ",
"PODIO_USE_CLANG_FORMAT": "OFF",
"PODIO_SET_RPATH": "ON",
"PODIO_ENABLE_SCHEMA_EVOLUTION_TESTS": "OFF"
}
},
{
"name": "base-build",
"displayName": "Base Build including RNTuple backend and DataSource",
"inherits": "common",
"generator": "Ninja",
"cacheVariables": {
"BUILD_TESTING": "ON",
"ENABLE_RNTUPLE": "ON",
"ENABLE_DATASOURCE": "ON",
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache"
}
},
{
"name": "full-build",
"displayName": "Full build including schema evolution tests and SIO",
"inherits": "base-build",
"cacheVariables": {
"ENABLE_SIO": "ON",
"PODIO_ENABLE_SCHEMA_EVOLUTION_TESTS": "ON"
}
},
{
"name": "ci-build",
"displayName": "Full build with warnings as errors",
"inherits": "full-build",
"cacheVariables": {
"CMAKE_CXX_FLAGS": " -fdiagnostics-color=always -Werror -Wno-error=deprecated-declarations",
"PODIO_USE_CLANG_FORMAT": "AUTO"
}
}
],
"buildPresets": [
{
"name": "ci-build",
"displayName": "Building like on CI",
"configurePreset": "ci-build",
"nativeToolOptions": ["-k0"]
}
],
"testPresets": [
{
"name": "ci-build",
"displayName": "Testing like on CI",
"configurePreset": "ci-build",
"execution": {
"stopOnFailure": false,
"scheduleRandom": true,
"timeout": 600
},
"output": {
"outputOnFailure": true
}
}
]
}