forked from openturns/openturns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
44 lines (44 loc) · 1.19 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
{
"version": 2,
"configurePresets": [
{
"name": "linux-debug",
"binaryDir": "${sourceDir}/build",
"generator": "Unix Makefiles",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_C_FLAGS": "-Wall -Wextra -Wpedantic -Wshadow",
"CMAKE_CXX_FLAGS": "-Wall -Wextra -Wpedantic -Wshadow -D_GLIBCXX_ASSERTIONS -fno-inline",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/install",
"SWIG_COMPILE_FLAGS": "-O1 -Wno-unused-parameter -Wno-shadow",
"CMAKE_UNITY_BUILD": "OFF"
}
},
{
"name": "linux-debug-unity",
"inherits": "linux-debug",
"cacheVariables": {
"CMAKE_UNITY_BUILD": "ON",
"CMAKE_UNITY_BUILD_BATCH_SIZE": "32"
}
}
],
"testPresets": [
{
"name": "common",
"configurePreset": "linux-debug",
"output": {"outputOnFailure": true},
"execution": {"timeout": 100, "jobs": 8, "scheduleRandom": true}
},
{
"name": "python",
"inherits": "common",
"filter": {"include": {"name": "pyinstallcheck"}}
},
{
"name": "cpp",
"inherits": "common",
"filter": {"include": {"name": "cppcheck"}}
}
]
}