|
2 | 2 | "buildPresets": [ |
3 | 3 | { |
4 | 4 | "configuration": "Release", |
5 | | - "configurePreset": "Windows-Release-With-ASAN", |
| 5 | + "configurePreset": "x64-MSVC-Release-ASAN", |
6 | 6 | "description": "Target Windows with the Visual Studio development environment, with address sanitizer.", |
7 | | - "displayName": "Windows x64 Release With ASAN - Build", |
| 7 | + "displayName": "x64-MSVC-Release-ASAN", |
8 | 8 | "inheritConfigureEnvironment": true, |
9 | | - "name": "Windows-Release-With-ASAN", |
| 9 | + "name": "x64-MSVC-Release-ASAN", |
10 | 10 | "verbose": true |
11 | 11 | }, |
12 | 12 | { |
13 | 13 | "configuration": "Debug", |
14 | | - "configurePreset": "Windows-Debug-With-ASAN", |
| 14 | + "configurePreset": "x64-MSVC-Debug-ASAN", |
15 | 15 | "description": "Target Windows with the Visual Studio development environment, with address sanitizer.", |
16 | | - "displayName": "Windows x64 Debug With ASAN - Build", |
| 16 | + "displayName": "x64-MSVC-Debug-ASAN", |
17 | 17 | "inheritConfigureEnvironment": true, |
18 | | - "name": "Windows-Debug-With-ASAN", |
| 18 | + "name": "x64-MSVC-Debug-ASAN", |
19 | 19 | "verbose": true |
20 | 20 | }, |
21 | 21 | { |
22 | 22 | "configuration": "Release", |
23 | | - "configurePreset": "Windows-Release", |
| 23 | + "configurePreset": "x64-MSVC-Release", |
24 | 24 | "description": "Target Windows with the Visual Studio development environment.", |
25 | | - "displayName": "Windows x64 Release - Build", |
| 25 | + "displayName": "x64-MSVC-Release", |
26 | 26 | "inheritConfigureEnvironment": true, |
27 | | - "name": "Windows-Release", |
| 27 | + "name": "x64-MSVC-Release", |
28 | 28 | "verbose": true |
29 | 29 | }, |
30 | 30 | { |
31 | 31 | "configuration": "Debug", |
32 | | - "configurePreset": "Windows-Debug", |
| 32 | + "configurePreset": "x64-MSVC-Debug", |
33 | 33 | "description": "Target Windows with the Visual Studio development environment.", |
34 | | - "displayName": "Windows x64 Debug - Build", |
| 34 | + "displayName": "x64-MSVC-Debug", |
35 | 35 | "inheritConfigureEnvironment": true, |
36 | | - "name": "Windows-Debug", |
| 36 | + "name": "x64-MSVC-Debug", |
37 | 37 | "verbose": true |
38 | 38 | }, |
39 | 39 | { |
40 | 40 | "configuration": "Release", |
41 | | - "configurePreset": "Linux-Release-With-ASAN", |
| 41 | + "configurePreset": "x64-GNU-Release-ASAN", |
42 | 42 | "description": "Target Linux with the g++-11 compiler, with address sanitizer.", |
43 | | - "displayName": "Linux x64 Release With ASAN - Build", |
| 43 | + "displayName": "x64-GNU-Release-ASAN", |
44 | 44 | "inheritConfigureEnvironment": true, |
45 | | - "name": "Linux-Release-With-ASAN", |
| 45 | + "name": "x64-GNU-Release-ASAN", |
46 | 46 | "verbose": true |
47 | 47 | }, |
48 | 48 | { |
49 | 49 | "configuration": "Release", |
50 | | - "configurePreset": "Linux-Release", |
| 50 | + "configurePreset": "x64-GNU-Release", |
51 | 51 | "description": "Target Linux with the g++-11 compiler.", |
52 | | - "displayName": "Linux x64 Release - Build", |
| 52 | + "displayName": "x64-GNU-Release", |
53 | 53 | "inheritConfigureEnvironment": true, |
54 | | - "name": "Linux-Release", |
| 54 | + "name": "x64-GNU-Release", |
55 | 55 | "verbose": true |
56 | 56 | }, |
57 | 57 | { |
58 | 58 | "configuration": "Debug", |
59 | | - "configurePreset": "Linux-Debug", |
| 59 | + "configurePreset": "x64-GNU-Debug", |
60 | 60 | "description": "Target Linux with the g++-11 compiler.", |
61 | | - "displayName": "Linux x64 Debug - Build", |
| 61 | + "displayName": "x64-GNU-Debug", |
62 | 62 | "inheritConfigureEnvironment": true, |
63 | | - "name": "Linux-Debug", |
| 63 | + "name": "x64-GNU-Debug", |
64 | 64 | "verbose": true |
65 | 65 | } |
66 | 66 | ], |
|
76 | 76 | "value": "x64" |
77 | 77 | }, |
78 | 78 | "binaryDir": "${sourceDir}/Build/Release", |
79 | | - "cacheVariables": { "CMAKE_BUILD_TYPE": "Release" }, |
| 79 | + "cacheVariables": { |
| 80 | + "CMAKE_BUILD_TYPE": "Release", |
| 81 | + "ASAN_ENABLED": false |
| 82 | + }, |
80 | 83 | "condition": { |
81 | 84 | "lhs": "${hostSystemName}", |
82 | 85 | "rhs": "Windows", |
|
85 | 88 | "description": "Target Windows with the Visual Studio development environment.", |
86 | 89 | "displayName": "Windows x64 Release - Config", |
87 | 90 | "generator": "Visual Studio 17 2022", |
88 | | - "name": "Windows-Release", |
| 91 | + "name": "x64-MSVC-Release", |
89 | 92 | "vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Windows" ] } } |
90 | 93 | }, |
91 | 94 | { |
|
94 | 97 | "value": "x64" |
95 | 98 | }, |
96 | 99 | "binaryDir": "${sourceDir}/Build/Debug", |
97 | | - "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" }, |
| 100 | + "cacheVariables": { |
| 101 | + "CMAKE_BUILD_TYPE": "Debug", |
| 102 | + "ASAN_ENABLED": false |
| 103 | + }, |
98 | 104 | "condition": { |
99 | 105 | "lhs": "${hostSystemName}", |
100 | 106 | "rhs": "Windows", |
|
103 | 109 | "description": "Target Windows with the Visual Studio development environment.", |
104 | 110 | "displayName": "Windows x64 Debug - Config", |
105 | 111 | "generator": "Visual Studio 17 2022", |
106 | | - "name": "Windows-Debug", |
| 112 | + "name": "x64-MSVC-Debug", |
107 | 113 | "vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Windows" ] } } |
108 | 114 | }, |
109 | 115 | { |
|
112 | 118 | "value": "x64" |
113 | 119 | }, |
114 | 120 | "binaryDir": "${sourceDir}/Build/Release-With-ASAN", |
115 | | - "cacheVariables": { "CMAKE_BUILD_TYPE": "Release" }, |
| 121 | + "cacheVariables": { |
| 122 | + "CMAKE_BUILD_TYPE": "Release", |
| 123 | + "ASAN_ENABLED": true |
| 124 | + }, |
116 | 125 | "condition": { |
117 | 126 | "lhs": "${hostSystemName}", |
118 | 127 | "rhs": "Windows", |
119 | 128 | "type": "equals" |
120 | 129 | }, |
121 | 130 | "description": "Target Windows with the Visual Studio development environment.", |
122 | 131 | "displayName": "Windows x64 Release With ASAN - Config", |
123 | | - "environment": { "EnableASAN": "true" }, |
124 | 132 | "generator": "Visual Studio 17 2022", |
125 | | - "name": "Windows-Release-With-ASAN", |
| 133 | + "name": "x64-MSVC-Release-ASAN", |
126 | 134 | "vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Windows" ] } } |
127 | 135 | }, |
128 | 136 | { |
|
131 | 139 | "value": "x64" |
132 | 140 | }, |
133 | 141 | "binaryDir": "${sourceDir}/Build/Debug-With-ASAN", |
134 | | - "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" }, |
| 142 | + "cacheVariables": { |
| 143 | + "CMAKE_BUILD_TYPE": "Debug", |
| 144 | + "ASAN_ENABLED": true |
| 145 | + }, |
135 | 146 | "condition": { |
136 | 147 | "lhs": "${hostSystemName}", |
137 | 148 | "rhs": "Windows", |
138 | 149 | "type": "equals" |
139 | 150 | }, |
140 | 151 | "description": "Target Windows with the Visual Studio development environment.", |
141 | 152 | "displayName": "Windows x64 Debug With ASAN - Config", |
142 | | - "environment": { "EnableASAN": "true" }, |
143 | 153 | "generator": "Visual Studio 17 2022", |
144 | | - "name": "Windows-Debug-With-ASAN", |
| 154 | + "name": "x64-MSVC-Debug-ASAN", |
145 | 155 | "vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Windows" ] } } |
146 | 156 | }, |
147 | 157 | { |
148 | 158 | "binaryDir": "${sourceDir}/Build/Release-With-ASAN", |
149 | | - "cacheVariables": { "CMAKE_BUILD_TYPE": "Release" }, |
| 159 | + "cacheVariables": { |
| 160 | + "CMAKE_BUILD_TYPE": "Release", |
| 161 | + "ASAN_ENABLED": true |
| 162 | + }, |
150 | 163 | "condition": { |
151 | 164 | "lhs": "${hostSystemName}", |
152 | 165 | "rhs": "Linux", |
153 | 166 | "type": "equals" |
154 | 167 | }, |
155 | 168 | "description": "Target Linux with the g++-11 compiler.", |
156 | 169 | "displayName": "Linux x64 Release - Config", |
157 | | - "environment": { "EnableASAN": "true" }, |
158 | 170 | "generator": "Ninja Multi-Config", |
159 | | - "name": "Linux-Release-With-ASAN", |
| 171 | + "name": "x64-GNU-Release-ASAN", |
160 | 172 | "vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Linux" ] } } |
161 | 173 | }, |
162 | 174 | { |
|
170 | 182 | "description": "Target Linux with the g++-11 compiler.", |
171 | 183 | "displayName": "Linux x64 Release - Config", |
172 | 184 | "generator": "Ninja Multi-Config", |
173 | | - "name": "Linux-Release", |
| 185 | + "name": "x64-GNU-Release", |
174 | 186 | "vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Linux" ] } } |
175 | 187 | }, |
176 | 188 | { |
|
184 | 196 | "description": "Target Linux with the g++-11 compiler.", |
185 | 197 | "displayName": "Linux x64 Debug - Config", |
186 | 198 | "generator": "Ninja Multi-Config", |
187 | | - "name": "Linux-Debug", |
| 199 | + "name": "x64-GNU-Debug", |
188 | 200 | "vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Linux" ] } } |
189 | 201 | } |
190 | 202 | ], |
|
0 commit comments