1010 "name" : " template" ,
1111 "hidden" : true ,
1212 "cacheVariables" : {
13- "ENABLE_FRONTEND_API" : false ,
14- "ENABLE_QT" : false
13+ "CMAKE_COMPILE_WARNING_AS_ERROR" : false ,
14+ "ENABLE_FRONTEND_API" : true ,
15+ "ENABLE_QT" : true
1516 }
1617 },
1718 {
4849 "description" : " Build for macOS 11.0+ (Universal binary) for CI" ,
4950 "generator" : " Xcode" ,
5051 "cacheVariables" : {
51- "CMAKE_COMPILE_WARNING_AS_ERROR" : true ,
52+ "CMAKE_COMPILE_WARNING_AS_ERROR" : false ,
5253 "ENABLE_CCACHE" : true
5354 }
5455 },
102103 "deprecated" : true
103104 },
104105 "cacheVariables" : {
105- "CMAKE_BUILD_TYPE" : " Release" ,
106- "CMAKE_INSTALL_LIBDIR" : " lib/CMAKE_SYSTEM_PROCESSOR-linux-gnu"
106+ "CMAKE_BUILD_TYPE" : " RelWithDebInfo" ,
107+ "CMAKE_INSTALL_LIBDIR" : " lib/CMAKE_SYSTEM_PROCESSOR-linux-gnu" ,
108+ "CMAKE_POSITION_INDEPENDENT_CODE" : true
107109 }
108110 },
109111 {
114116 "displayName" : " Ubuntu x86_64 CI build" ,
115117 "description" : " Build for Ubuntu x86_64 on CI" ,
116118 "cacheVariables" : {
117- "CMAKE_BUILD_TYPE" : " Release " ,
118- "CMAKE_COMPILE_WARNING_AS_ERROR" : true ,
119+ "CMAKE_BUILD_TYPE" : " RelWithDebInfo " ,
120+ "CMAKE_COMPILE_WARNING_AS_ERROR" : false ,
119121 "ENABLE_CCACHE" : true
120122 }
121123 }
126128 "configurePreset" : " macos" ,
127129 "displayName" : " macOS Universal" ,
128130 "description" : " macOS build for Universal architectures" ,
129- "configuration" : " Debug "
131+ "configuration" : " RelWithDebInfo "
130132 },
131133 {
132134 "name" : " macos-ci" ,
133135 "configurePreset" : " macos-ci" ,
134136 "displayName" : " macOS Universal CI" ,
135137 "description" : " macOS CI build for Universal architectures" ,
136- "configuration" : " Release "
138+ "configuration" : " RelWithDebInfo "
137139 },
138140 {
139141 "name" : " windows-x64" ,
140142 "configurePreset" : " windows-x64" ,
141143 "displayName" : " Windows x64" ,
142144 "description" : " Windows build for x64" ,
143- "configuration" : " Debug "
145+ "configuration" : " RelWithDebInfo "
144146 },
145147 {
146148 "name" : " windows-ci-x64" ,
147149 "configurePreset" : " windows-ci-x64" ,
148150 "displayName" : " Windows x64 CI" ,
149- "description" : " Windows CI build for x64 (Release configuration)" ,
150- "configuration" : " Release "
151+ "description" : " Windows CI build for x64 (RelWithDebInfo configuration)" ,
152+ "configuration" : " RelWithDebInfo "
151153 },
152154 {
153155 "name" : " ubuntu-x86_64" ,
154156 "configurePreset" : " ubuntu-x86_64" ,
155157 "displayName" : " Ubuntu x86_64" ,
156158 "description" : " Ubuntu build for x86_64" ,
157- "configuration" : " Release "
159+ "configuration" : " RelWithDebInfo "
158160 },
159161 {
160162 "name" : " ubuntu-ci-x86_64" ,
161163 "configurePreset" : " ubuntu-ci-x86_64" ,
162164 "displayName" : " Ubuntu x86_64 CI" ,
163165 "description" : " Ubuntu CI build for x86_64" ,
164- "configuration" : " Release "
166+ "configuration" : " RelWithDebInfo "
165167 }
166168 ]
167169}
0 commit comments