5353 }
5454 }
5555 },
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+ },
5667 {
5768 "name" : " windows-msvc-debug-developer-mode" ,
5869 "displayName" : " msvc Debug (Developer Mode)" ,
7586 "CMAKE_CXX_COMPILER" : " cl" ,
7687 "CMAKE_BUILD_TYPE" : " RelWithDebInfo" ,
7788 "ENABLE_DEVELOPER_MODE" : " ON"
78- }
89+ }
7990 },
8091 {
8192 "name" : " windows-msvc-debug-user-mode" ,
8798 "CMAKE_CXX_COMPILER" : " cl" ,
8899 "CMAKE_BUILD_TYPE" : " Debug" ,
89100 "ENABLE_DEVELOPER_MODE" : " OFF"
90- }
101+ }
91102 },
92103 {
93104 "name" : " windows-msvc-release-user-mode" ,
99110 "CMAKE_CXX_COMPILER" : " cl" ,
100111 "CMAKE_BUILD_TYPE" : " RelWithDebInfo" ,
101112 "ENABLE_DEVELOPER_MODE" : " OFF"
102- }
113+ }
103114 },
104115 {
105116 "name" : " windows-clang-debug" ,
176187 "CMAKE_CXX_COMPILER" : " clang++" ,
177188 "CMAKE_BUILD_TYPE" : " RelWithDebInfo"
178189 }
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" ,
207+ "cacheVariables" : {
208+ "CMAKE_C_COMPILER" : " clang" ,
209+ "CMAKE_CXX_COMPILER" : " clang++" ,
210+ "CMAKE_BUILD_TYPE" : " RelWithDebInfo"
211+ }
179212 }
180213 ],
181214 "testPresets" : [
246279 "description" : " Enable output and stop on failure" ,
247280 "inherits" : " test-common" ,
248281 "configurePreset" : " linux-clang-release"
282+ },
283+ {
284+ "name" : " test-darwin-clang-debug" ,
285+ "displayName" : " Strict" ,
286+ "description" : " Enable output and stop on failure" ,
287+ "inherits" : " test-common" ,
288+ "configurePreset" : " darwin-clang-debug"
289+ },
290+ {
291+ "name" : " test-darwin-clang-release" ,
292+ "displayName" : " Strict" ,
293+ "description" : " Enable output and stop on failure" ,
294+ "inherits" : " test-common" ,
295+ "configurePreset" : " darwin-clang-release"
249296 }
250297 ]
251- }
298+ }
0 commit comments