@@ -54,7 +54,7 @@ filter("configurations:Checked")
5454  defines ({
5555    " DEBUG" 
5656  })
57- filter ({" configurations:Checked" " platforms:Windows" 
57+ filter ({" configurations:Checked" " platforms:Windows-* " 
5858  buildoptions ({
5959    " /RTCsu" --  Full Run-Time Checks.
6060  })
@@ -153,7 +153,7 @@ filter("platforms:Android-*")
153153    " log" 
154154  })
155155
156- filter (" platforms:Windows" 
156+ filter (" platforms:Windows-* " 
157157  system (" windows" 
158158  toolset (" msc" 
159159  buildoptions ({
@@ -181,6 +181,11 @@ filter("platforms:Windows")
181181    " _WIN64=1" 
182182    " _AMD64=1" 
183183  })
184+   filter (" architecture:x86_64" 
185+     defines ({
186+       " _AMD64=1" 
187+     })
188+   filter ({})
184189  linkoptions ({
185190    " /ignore:4006" --  Ignores complaints about empty obj files.
186191    " /ignore:4221" 
@@ -198,7 +203,7 @@ filter("platforms:Windows")
198203  })
199204
200205--  Embed the manifest for things like dependencies and DPI awareness.
201- filter ({" platforms:Windows" " kind:ConsoleApp or WindowedApp" 
206+ filter ({" platforms:Windows-* " " kind:ConsoleApp or WindowedApp" 
202207  files ({
203208    " src/xenia/base/app_win32.manifest" 
204209  })
@@ -228,7 +233,12 @@ workspace("xenia")
228233        [" ARCHS" =  " x86_64" 
229234      })
230235    elseif  os .istarget (" windows" then 
231-       platforms ({" Windows" 
236+       platforms ({" Windows-ARM64" " Windows-x86_64" 
237+       filter (" platforms:Windows-ARM64" 
238+         architecture (" ARM64" 
239+       filter (" platforms:Windows-x86_64" 
240+         architecture (" x86_64" 
241+       filter ({})
232242      --  10.0.15063.0: ID3D12GraphicsCommandList1::SetSamplePositions.
233243      --  10.0.19041.0: D3D12_HEAP_FLAG_CREATE_NOT_ZEROED.
234244      --  10.0.22000.0: DWMWA_WINDOW_CORNER_PREFERENCE.
0 commit comments