Repository navigation
Expand file tree
/
Copy pathCMakePresets.json
More file actions
104 lines (104 loc) · 3.26 KB
/
Copy pathCMakePresets.json
File metadata and controls
104 lines (104 loc) · 3.26 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
{
"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"
},
"installDir": "${sourceDir}/install"
},
{
"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, SIO, Arrow and Parquet",
"inherits": "base-build",
"cacheVariables": {
"ENABLE_SIO": "ON",
"ENABLE_ARROW": "ON",
"ENABLE_PARQUET": "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"
}
},
{
"name": "ci-build-no-root",
"displayName": "Full build with warnings as errors, without ROOT and python bindings",
"inherits": "ci-build",
"cacheVariables": {
"ENABLE_ROOT": "OFF"
}
}
],
"buildPresets": [
{
"name": "ci-base",
"hidden": true,
"nativeToolOptions": ["-k0"]
},
{
"name": "ci-build",
"displayName": "Building like on CI",
"inherits": "ci-base",
"configurePreset": "ci-build"
},
{
"name": "ci-build-no-root",
"displayName": "Building like on CI, without ROOT",
"inherits": "ci-base",
"configurePreset": "ci-build-no-root"
}
],
"testPresets": [
{
"name": "ci-base",
"hidden": true,
"execution": {
"stopOnFailure": false,
"scheduleRandom": true,
"timeout": 600
},
"output": {
"outputOnFailure": true
}
},
{
"name": "ci-build",
"displayName": "Testing like on CI",
"inherits": "ci-base",
"configurePreset": "ci-build"
},
{
"name": "ci-build-no-root",
"displayName": "Testing like on CI, without ROOT",
"inherits": "ci-base",
"configurePreset": "ci-build-no-root"
}
]
}