@@ -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 ({
@@ -179,8 +179,12 @@ filter("platforms:Windows")
179179 " _CRT_SECURE_NO_WARNINGS" ,
180180 " WIN32" ,
181181 " _WIN64=1" ,
182- " _AMD64=1" ,
183182 })
183+ filter (" architecture:x86_64" )
184+ defines ({
185+ " _AMD64=1" ,
186+ })
187+ filter ({})
184188 linkoptions ({
185189 " /ignore:4006" , -- Ignores complaints about empty obj files.
186190 " /ignore:4221" ,
@@ -198,7 +202,7 @@ filter("platforms:Windows")
198202 })
199203
200204-- Embed the manifest for things like dependencies and DPI awareness.
201- filter ({" platforms:Windows" , " kind:ConsoleApp or WindowedApp" })
205+ filter ({" platforms:Windows-* " , " kind:ConsoleApp or WindowedApp" })
202206 files ({
203207 " src/xenia/base/app_win32.manifest"
204208 })
@@ -228,7 +232,12 @@ workspace("xenia")
228232 [" ARCHS" ] = " x86_64"
229233 })
230234 elseif os .istarget (" windows" ) then
231- platforms ({" Windows" })
235+ platforms ({" Windows-ARM64" , " Windows-x86_64" })
236+ filter (" platforms:Windows-ARM64" )
237+ architecture (" ARM64" )
238+ filter (" platforms:Windows-x86_64" )
239+ architecture (" x86_64" )
240+ filter ({})
232241 -- 10.0.15063.0: ID3D12GraphicsCommandList1::SetSamplePositions.
233242 -- 10.0.19041.0: D3D12_HEAP_FLAG_CREATE_NOT_ZEROED.
234243 -- 10.0.22000.0: DWMWA_WINDOW_CORNER_PREFERENCE.
0 commit comments