forked from holgerBerger/hpc-workspace-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakePresets.json
116 lines (116 loc) · 2.65 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
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
{
"version": 2,
"cmakeMinimumRequired": {
"major": 3,
"minor": 20,
"patch": 0
},
"configurePresets": [
{
"name": "config_common",
"description": "Common configuration settings for all configurations",
"hidden": true,
"generator": "Unix Makefiles",
"warnings": {
"dev": true,
"deprecated": true,
"uninitialized": false
}
},
{
"name": "debug",
"displayName": "Debug",
"hidden": false,
"inherits": [
"config_common"
],
"binaryDir": "build/debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": true,
"BUILD_TESTS": true,
"WS_ALLOW_USER_DEBUG": true,
"CMAKE_CXX_FLAGS": "-fstack-protector-all -fcf-protection=full -fsanitize=address -fsanitize=undefined -fsanitize=leak"
}
},
{
"name": "release",
"displayName": "Release",
"hidden": false,
"inherits": [
"config_common"
],
"binaryDir": "build/release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_EXPORT_COMPILE_COMMANDS": true
}
},
{
"name": "release-static",
"displayName": "Release (static)",
"hidden": false,
"inherits": [
"config_common",
"release"
],
"binaryDir": "build/release-static",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release (static)",
"CMAKE_EXPORT_COMPILE_COMMANDS": true,
"CMAKE_FIND_LIBRARY_SUFFIXES": ".a",
"BUILD_SHARED_LIBS": false,
"CMAKE_EXE_LINKER_FLAGS": "-static"
}
}
],
"buildPresets": [
{
"name": "build_common",
"hidden": true
},
{
"name": "debug",
"displayName": "Debug build",
"hidden": false,
"configurePreset": "debug",
"configuration": "Debug",
"inherits": [
"build_common"
]
},
{
"name": "release",
"displayName": "Release build",
"hidden": false,
"configurePreset": "release",
"configuration": "Release",
"inherits": [
"build_common"
]
},
{
"name": "release-static",
"displayName": "Release (static) build",
"hidden": false,
"configurePreset": "release-static",
"configuration": "Release (static)",
"inherits": [
"build_common",
"release"
]
}
],
"testPresets": [
{
"name": "debug",
"displayName": "Debug tests",
"hidden": false,
"configurePreset": "debug",
"output": {
"verbosity": "default",
"labelSummary": false
}
}
]
}