Skip to content

Commit 23fce1c

Browse files
committed
Update CMakePresets.json
Add linux base preset
1 parent 2edd346 commit 23fce1c

1 file changed

Lines changed: 60 additions & 0 deletions

File tree

CMakePresets.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,66 @@
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_INCLUDEDIR": "$env{BOOST}",
157+
"BOOST_LIBRARYDIR": "$env{BOOST_LIB64}",
158+
"QL_BUILD_EXAMPLES": false,
159+
"QL_BUILD_TEST_SUITE": false,
160+
"QL_BUILD_BENCHMARK": false,
161+
"QL_ENABLE_SESSIONS": true,
162+
"ORE_BUILD_DOC": false
163+
},
164+
"condition": {
165+
"type": "equals",
166+
"lhs": "${hostSystemName}",
167+
"rhs": "Linux"
168+
}
169+
},
170+
{
171+
"name": "_release",
172+
"hidden": true,
173+
"cacheVariables": {
174+
"CMAKE_BUILD_TYPE": "Release"
175+
}
176+
},
177+
{
178+
"name": "_debug",
179+
"hidden": true,
180+
"cacheVariables": {
181+
"CMAKE_BUILD_TYPE": "Debug"
182+
}
183+
},
184+
{
185+
"name": "_ninja",
186+
"hidden": true,
187+
"generator": "Ninja"
188+
},
189+
{
190+
"name": "_make",
191+
"hidden": true,
192+
"generator": "Unix Makefiles"
193+
},
194+
{
195+
"name": "linux-gcc-ninja-debug",
196+
"inherits": [
197+
"linux-gcc-base",
198+
"_ninja",
199+
"_debug"
200+
]
201+
},
202+
{
203+
"name": "linux-gcc-ninja-release",
204+
"inherits": [
205+
"linux-gcc-base",
206+
"_ninja",
207+
"_release"
208+
]
149209
}
150210
],
151211
"buildPresets": [

0 commit comments

Comments
 (0)