Skip to content

Commit ee5bd17

Browse files
committed
Merge remote-tracking branch 'model-validation/feature/add-linux-preset' into gh_179_180_182_183
2 parents b41fd78 + 8c404c7 commit ee5bd17

1 file changed

Lines changed: 70 additions & 1 deletion

File tree

CMakePresets.json

Lines changed: 70 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": 2,
2+
"version": 3,
33
"configurePresets": [
44
{
55
"name": "windows-ninja-x64-debug",
@@ -146,6 +146,75 @@
146146
]
147147
}
148148
}
149+
},
150+
{
151+
"name": "linux-gcc-base",
152+
"hidden": true,
153+
"binaryDir": "${sourceDir}/build/${presetName}",
154+
"cacheVariables": {
155+
"CMAKE_CXX_COMPILER": "g++",
156+
"BOOST_ROOT": "$env{BOOST}",
157+
"QL_BUILD_EXAMPLES": false,
158+
"QL_BUILD_TEST_SUITE": false,
159+
"QL_BUILD_BENCHMARK": false,
160+
"QL_ENABLE_SESSIONS": true,
161+
"ORE_BUILD_DOC": false
162+
},
163+
"condition": {
164+
"type": "equals",
165+
"lhs": "${hostSystemName}",
166+
"rhs": "Linux"
167+
}
168+
},
169+
{
170+
"name": "_release",
171+
"hidden": true,
172+
"cacheVariables": {
173+
"CMAKE_BUILD_TYPE": "Release"
174+
}
175+
},
176+
{
177+
"name": "_debug",
178+
"hidden": true,
179+
"cacheVariables": {
180+
"CMAKE_BUILD_TYPE": "Debug"
181+
}
182+
},
183+
{
184+
"name": "_relwithdebinfo",
185+
"hidden": true,
186+
"cacheVariables": {
187+
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
188+
}
189+
},
190+
{
191+
"name": "_ninja",
192+
"hidden": true,
193+
"generator": "Ninja"
194+
},
195+
{
196+
"name": "linux-gcc-ninja-debug",
197+
"inherits": [
198+
"linux-gcc-base",
199+
"_ninja",
200+
"_debug"
201+
]
202+
},
203+
{
204+
"name": "linux-gcc-ninja-release",
205+
"inherits": [
206+
"linux-gcc-base",
207+
"_ninja",
208+
"_release"
209+
]
210+
},
211+
{
212+
"name": "linux-gcc-ninja-relwithdebinfo",
213+
"inherits": [
214+
"linux-gcc-base",
215+
"_ninja",
216+
"_relwithdebinfo"
217+
]
149218
}
150219
],
151220
"buildPresets": [

0 commit comments

Comments
 (0)