forked from 3MFConsortium/lib3mf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
182 lines (182 loc) · 5.82 KB
/
Copy pathCMakePresets.json
File metadata and controls
182 lines (182 loc) · 5.82 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
{
"version": 3,
"configurePresets": [
{
"name": "windows-base",
"description": "Target Windows with the Visual Studio development environment.",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"name": "x64-debug",
"displayName": "x64 Debug",
"description": "Target Windows (64-bit) with the Visual Studio development environment. (Debug)",
"inherits": "windows-base",
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "x64-release",
"displayName": "x64 Release",
"description": "Target Windows (64-bit) with the Visual Studio development environment. (RelWithDebInfo)",
"inherits": "windows-base",
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "x64-release-debug",
"displayName": "x64 Release with Debug",
"description": "Target Windows (64-bit) with the Visual Studio development environment. (RelWithDebInfo)",
"inherits": "x64-release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_CXX_FLAGS_DEBUG": "/Z7"
}
},
{
"name": "linux-base",
"displayName": "Linux Base (Ninja)",
"description": "Base preset for Linux using Ninja.",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_INSTALL_PREFIX": "/usr/local",
"LIB3MF_TESTS": "ON",
"USE_INCLUDED_ZLIB": "OFF",
"USE_INCLUDED_LIBZIP": "OFF",
"USE_INCLUDED_SSL": "OFF"
}
},
{
"name": "linux-debug",
"displayName": "Linux Debug",
"description": "Debug build on Linux with tests enabled.",
"inherits": "linux-base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "linux-relwithdebinfo",
"displayName": "Linux RelWithDebInfo",
"description": "RelWithDebInfo build on Linux with tests enabled.",
"inherits": "linux-base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "linux-release",
"displayName": "Linux Release",
"description": "Release build on Linux with tests enabled.",
"inherits": "linux-base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
}
],
"buildPresets": [
{
"name": "x64-debug",
"displayName": "Build (Windows x64 Debug)",
"configurePreset": "x64-debug"
},
{
"name": "x64-release",
"displayName": "Build (Windows x64 Release)",
"configurePreset": "x64-release"
},
{
"name": "x64-release-debug",
"displayName": "Build (Windows x64 Release with Debug)",
"configurePreset": "x64-release-debug"
},
{
"name": "linux-debug",
"displayName": "Build (Linux Debug)",
"configurePreset": "linux-debug"
},
{
"name": "linux-relwithdebinfo",
"displayName": "Build (Linux RelWithDebInfo)",
"configurePreset": "linux-relwithdebinfo"
},
{
"name": "linux-release",
"displayName": "Build (Linux Release)",
"configurePreset": "linux-release"
}
],
"testPresets": [
{
"name": "x64-debug",
"displayName": "Test (Windows x64 Debug)",
"configurePreset": "x64-debug",
"output": {
"outputOnFailure": true
}
},
{
"name": "x64-release",
"displayName": "Test (Windows x64 Release)",
"configurePreset": "x64-release",
"output": {
"outputOnFailure": true
}
},
{
"name": "x64-release-debug",
"displayName": "Test (Windows x64 Release with Debug)",
"configurePreset": "x64-release-debug",
"output": {
"outputOnFailure": true
}
},
{
"name": "linux-debug",
"displayName": "Test (Linux Debug)",
"configurePreset": "linux-debug",
"output": {
"outputOnFailure": true
}
},
{
"name": "linux-relwithdebinfo",
"displayName": "Test (Linux RelWithDebInfo)",
"configurePreset": "linux-relwithdebinfo",
"output": {
"outputOnFailure": true
}
},
{
"name": "linux-release",
"displayName": "Test (Linux Release)",
"configurePreset": "linux-release",
"output": {
"outputOnFailure": true
}
}
]
}