3838 }
3939 },
4040 {
41- "name" : " conf-linux -common" ,
42- "description" : " Linux settings for gcc and clang toolchains" ,
41+ "name" : " conf-unixlike -common" ,
42+ "description" : " Unix-like OS settings for gcc and clang toolchains" ,
4343 "hidden" : true ,
4444 "inherits" : " conf-common" ,
4545 "condition" : {
46- "type" : " equals" ,
47- "lhs" : " ${hostSystemName}" ,
48- "rhs" : " Linux"
46+ "type" : " inList" ,
47+ "string" : " ${hostSystemName}" ,
48+ "list" : [
49+ " Linux" ,
50+ " Darwin"
51+ ]
4952 },
5053 "vendor" : {
5154 "microsoft.com/VisualStudioRemoteSettings/CMake/1.0" : {
5255 "sourceDir" : " $env{HOME}/.vs/$ms{projectDirName}"
5356 }
5457 }
5558 },
56- {
57- "name" : " conf-darwin-common" ,
58- "description" : " Darwin (macOS) settings for AppleClang tooolchain" ,
59- "hidden" : true ,
60- "inherits" : " conf-common" ,
61- "condition" : {
62- "type" : " equals" ,
63- "lhs" : " ${hostSystemName}" ,
64- "rhs" : " Darwin"
65- }
66- },
6759 {
6860 "name" : " windows-msvc-debug-developer-mode" ,
6961 "displayName" : " msvc Debug (Developer Mode)" ,
145137 }
146138 },
147139 {
148- "name" : " linux -gcc-debug" ,
140+ "name" : " unixlike -gcc-debug" ,
149141 "displayName" : " gcc Debug" ,
150- "description" : " Target Linux with the gcc compiler, debug build type" ,
151- "inherits" : " conf-linux -common" ,
142+ "description" : " Target Unix-like OS with the gcc compiler, debug build type" ,
143+ "inherits" : " conf-unixlike -common" ,
152144 "cacheVariables" : {
153145 "CMAKE_C_COMPILER" : " gcc" ,
154146 "CMAKE_CXX_COMPILER" : " g++" ,
155147 "CMAKE_BUILD_TYPE" : " Debug"
156148 }
157149 },
158150 {
159- "name" : " linux -gcc-release" ,
151+ "name" : " unixlike -gcc-release" ,
160152 "displayName" : " gcc Release" ,
161- "description" : " Target Linux with the gcc compiler, release build type" ,
162- "inherits" : " conf-linux -common" ,
153+ "description" : " Target Unix-like OS with the gcc compiler, release build type" ,
154+ "inherits" : " conf-unixlike -common" ,
163155 "cacheVariables" : {
164156 "CMAKE_C_COMPILER" : " gcc" ,
165157 "CMAKE_CXX_COMPILER" : " g++" ,
166158 "CMAKE_BUILD_TYPE" : " RelWithDebInfo"
167159 }
168160 },
169161 {
170- "name" : " linux -clang-debug" ,
162+ "name" : " unixlike -clang-debug" ,
171163 "displayName" : " clang Debug" ,
172- "description" : " Target Linux with the clang compiler, debug build type" ,
173- "inherits" : " conf-linux -common" ,
164+ "description" : " Target Unix-like OS with the clang compiler, debug build type" ,
165+ "inherits" : " conf-unixlike -common" ,
174166 "cacheVariables" : {
175167 "CMAKE_C_COMPILER" : " clang" ,
176168 "CMAKE_CXX_COMPILER" : " clang++" ,
177169 "CMAKE_BUILD_TYPE" : " Debug"
178170 }
179171 },
180172 {
181- "name" : " linux -clang-release" ,
173+ "name" : " unixlike -clang-release" ,
182174 "displayName" : " clang Release" ,
183- "description" : " Target Linux with the clang compiler, release build type" ,
184- "inherits" : " conf-linux-common" ,
185- "cacheVariables" : {
186- "CMAKE_C_COMPILER" : " clang" ,
187- "CMAKE_CXX_COMPILER" : " clang++" ,
188- "CMAKE_BUILD_TYPE" : " RelWithDebInfo"
189- }
190- },
191- {
192- "name" : " darwin-clang-debug" ,
193- "displayName" : " AppleClang Debug" ,
194- "description" : " Target Darwin (macOS) with the AppleCalng compiler, debug build type" ,
195- "inherits" : " conf-darwin-common" ,
196- "cacheVariables" : {
197- "CMAKE_C_COMPILER" : " clang" ,
198- "CMAKE_CXX_COMPILER" : " clang++" ,
199- "CMAKE_BUILD_TYPE" : " Debug"
200- }
201- },
202- {
203- "name" : " darwin-clang-release" ,
204- "displayName" : " AppleClang Release" ,
205- "description" : " Target Darwin (macOS) with the AppleCalng compiler, release build type" ,
206- "inherits" : " conf-darwin-common" ,
175+ "description" : " Target Unix-like OS with the clang compiler, release build type" ,
176+ "inherits" : " conf-unixlike-common" ,
207177 "cacheVariables" : {
208178 "CMAKE_C_COMPILER" : " clang" ,
209179 "CMAKE_CXX_COMPILER" : " clang++" ,
253223 "configurePreset" : " windows-clang-release"
254224 },
255225 {
256- "name" : " test-linux-gcc-debug" ,
257- "displayName" : " Strict" ,
258- "description" : " Enable output and stop on failure" ,
259- "inherits" : " test-common" ,
260- "configurePreset" : " linux-gcc-debug"
261- },
262- {
263- "name" : " test-linux-gcc-release" ,
264- "displayName" : " Strict" ,
265- "description" : " Enable output and stop on failure" ,
266- "inherits" : " test-common" ,
267- "configurePreset" : " linux-gcc-release"
268- },
269- {
270- "name" : " test-linux-clang-debug" ,
226+ "name" : " test-unixlike-gcc-debug" ,
271227 "displayName" : " Strict" ,
272228 "description" : " Enable output and stop on failure" ,
273229 "inherits" : " test-common" ,
274- "configurePreset" : " linux-clang -debug"
230+ "configurePreset" : " unixlike-gcc -debug"
275231 },
276232 {
277- "name" : " test-linux-clang -release" ,
233+ "name" : " test-unixlike-gcc -release" ,
278234 "displayName" : " Strict" ,
279235 "description" : " Enable output and stop on failure" ,
280236 "inherits" : " test-common" ,
281- "configurePreset" : " linux-clang -release"
237+ "configurePreset" : " unixlike-gcc -release"
282238 },
283239 {
284- "name" : " test-darwin -clang-debug" ,
240+ "name" : " test-unixlike -clang-debug" ,
285241 "displayName" : " Strict" ,
286242 "description" : " Enable output and stop on failure" ,
287243 "inherits" : " test-common" ,
288- "configurePreset" : " darwin -clang-debug"
244+ "configurePreset" : " unixlike -clang-debug"
289245 },
290246 {
291- "name" : " test-darwin -clang-release" ,
247+ "name" : " test-unixlike -clang-release" ,
292248 "displayName" : " Strict" ,
293249 "description" : " Enable output and stop on failure" ,
294250 "inherits" : " test-common" ,
295- "configurePreset" : " darwin -clang-release"
251+ "configurePreset" : " unixlike -clang-release"
296252 }
297253 ]
298254}
0 commit comments