-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathCMakePresets.json
46 lines (46 loc) · 1.22 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
{
"version": 3,
"configurePresets": [
{
"name": "base",
"hidden": true,
"binaryDir": "${sourceDir}/build"
},
{
"name": "production",
"inherits": "base",
"displayName": "Production release",
"description": "Release configuration for preCICE used in production.",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_INTERPROCEDURAL_OPTIMIZATION": "ON"
}
},
{
"name": "development",
"inherits": "base",
"displayName": "Development",
"description": "Development config with default settings",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_CXX_FLAGS": "-Wall -Wextra -Wno-unused-parameter"
},
"warnings": {
"dev": true,
"deprecated": true,
"uninitialized": true
}
},
{
"name": "profiling",
"inherits": "development",
"displayName": "Profiling",
"description": "Profiling configuration",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_INTERPROCEDURAL_OPTIMIZATION": "ON",
"CMAKE_CXX_FLAGS": "-Wall -Wextra -Wno-unused-parameter -fno-omit-frame-pointer"
}
}
]
}