@@ -55,12 +55,12 @@ name: $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)
5555
5656variables :
5757 Codeql.Enabled : false
58- VS_GENERATOR : ' Visual Studio 16 2019 '
58+ VS_GENERATOR : ' Visual Studio 17 2022 '
5959 WIN10_SDK : ' 10.0.19041.0'
6060 WIN11_SDK : ' 10.0.22000.0'
6161
6262pool :
63- vmImage : windows-2019
63+ vmImage : windows-2022
6464
6565jobs :
6666 - job : CMAKE_BUILD
7474 inputs :
7575 cwd : ' $(Build.SourcesDirectory)'
7676 cmakeArgs : >
77- -G "$(VS_GENERATOR)" -A x64 -B out
77+ -G "$(VS_GENERATOR)" -T v142 - A x64 -B out
7878 -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
7979 -DBUILD_DX12=OFF
8080 - task : CMake@1
9292 inputs :
9393 cwd : ' $(Build.SourcesDirectory)'
9494 cmakeArgs : >
95- -G "$(VS_GENERATOR)" -A Win32 -B out2
95+ -G "$(VS_GENERATOR)" -T v142 - A Win32 -B out2
9696 -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
9797 -DBUILD_DX12=OFF
9898 - task : CMake@1
@@ -110,92 +110,42 @@ jobs:
110110 inputs :
111111 cwd : ' $(Build.SourcesDirectory)'
112112 cmakeArgs : >
113- -G "$(VS_GENERATOR)" -A x64 -B out3
113+ -G "$(VS_GENERATOR)" -T v142 - A x64 -B out3
114114 -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=10.0
115115 - task : CMake@1
116116 displayName : ' CMake (UWP): Build x64'
117117 inputs :
118118 cwd : ' $(Build.SourcesDirectory)'
119119 cmakeArgs : --build out3 -v
120- - task : CMake@1
121- displayName : ' CMake (ClangCl): Config x64'
122- inputs :
123- cwd : ' $(Build.SourcesDirectory)'
124- cmakeArgs : >
125- -G "$(VS_GENERATOR)" -A x64 -T clangcl -B out4
126- -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
127- - task : CMake@1
128- displayName : ' CMake (ClangCl): Build x64 Debug'
129- inputs :
130- cwd : ' $(Build.SourcesDirectory)'
131- cmakeArgs : --build out4 -v --config Debug
132- - task : CMake@1
133- displayName : ' CMake (ClangCl): Build x64 Release'
134- inputs :
135- cwd : ' $(Build.SourcesDirectory)'
136- cmakeArgs : --build out4 -v --config RelWithDebInfo
137120 - task : CMake@1
138121 displayName : ' CMake (Win10): Config'
139122 inputs :
140123 cwd : ' $(Build.SourcesDirectory)'
141124 cmakeArgs : >
142- -G "$(VS_GENERATOR)" -A x64 -B out5
125+ -G "$(VS_GENERATOR)" -T v142 - A x64 -B out4
143126 -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
144127 -DBUILD_DX12=ON
145128 - task : CMake@1
146129 displayName : ' CMake (Win10): Build'
147130 inputs :
148131 cwd : ' $(Build.SourcesDirectory)'
149- cmakeArgs : --build out5 -v --config Debug
150- - task : CMake@1
151- displayName : ' CMake (MSVC Spectre): Config x64'
152- inputs :
153- cwd : ' $(Build.SourcesDirectory)'
154- cmakeArgs : >
155- -G "$(VS_GENERATOR)" -A x64 -B out6
156- -DENABLE_SPECTRE_MITIGATION=ON -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON
157- -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
158- -DBUILD_DX12=OFF
159- - task : CMake@1
160- displayName : ' CMake (MSVC Spectre): Build x64 Debug'
161- inputs :
162- cwd : ' $(Build.SourcesDirectory)'
163- cmakeArgs : --build out6 -v --config Debug
164- - task : CMake@1
165- displayName : ' CMake (MSVC Spectre): Build x64 Release'
166- inputs :
167- cwd : ' $(Build.SourcesDirectory)'
168- cmakeArgs : --build out6 -v --config RelWithDebInfo
169- - task : CMake@1
170- displayName : ' CMake (Win10 Spectre): Config'
171- inputs :
172- cwd : ' $(Build.SourcesDirectory)'
173- cmakeArgs : >
174- -G "$(VS_GENERATOR)" -A x64 -B out7
175- -DENABLE_SPECTRE_MITIGATION=ON -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON
176- -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
177- -DBUILD_DX12=ON
178- - task : CMake@1
179- displayName : ' CMake (Win10 Spectre): Build'
180- inputs :
181- cwd : ' $(Build.SourcesDirectory)'
182- cmakeArgs : --build out7 -v --config Debug
132+ cmakeArgs : --build out4 -v --config Debug
183133 - task : CMake@1
184134 displayName : ' CMake (DLL): Config x64'
185135 inputs :
186136 cwd : ' $(Build.SourcesDirectory)'
187137 cmakeArgs : >
188- -G "$(VS_GENERATOR)" -A x64 -B out8
138+ -G "$(VS_GENERATOR)" -T v142 - A x64 -B out5
189139 -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
190140 -DBUILD_DX12=ON
191141 -DBUILD_SHARED_LIBS=ON
192142 - task : CMake@1
193143 displayName : ' CMake (DLL): Build x64 Debug'
194144 inputs :
195145 cwd : ' $(Build.SourcesDirectory)'
196- cmakeArgs : --build out8 -v --config Debug
146+ cmakeArgs : --build out5 -v --config Debug
197147 - task : CMake@1
198148 displayName : ' CMake (DLL): Build x64 Release'
199149 inputs :
200150 cwd : ' $(Build.SourcesDirectory)'
201- cmakeArgs : --build out8 -v --config RelWithDebInfo
151+ cmakeArgs : --build out5 -v --config RelWithDebInfo
0 commit comments