mirror of
https://github.com/Retropex/dolphin.git
synced 2025-05-12 19:30:44 +02:00
msbuild: set PreferredToolArchitecture based on host OS arch
This commit is contained in:
parent
ecc4bc5098
commit
e85da16947
@ -3,7 +3,8 @@
|
|||||||
<PropertyGroup Label="Configuration">
|
<PropertyGroup Label="Configuration">
|
||||||
<PlatformToolset>v143</PlatformToolset>
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
<CharacterSet>Unicode</CharacterSet>
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
|
<PreferredToolArchitecture Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)'=='x64'">x64</PreferredToolArchitecture>
|
||||||
|
<PreferredToolArchitecture Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)'=='ARM64'">ARM64</PreferredToolArchitecture>
|
||||||
<!-- To use ASAN, just uncomment this. For simplicity, you should run VS/windbg/etc
|
<!-- To use ASAN, just uncomment this. For simplicity, you should run VS/windbg/etc
|
||||||
(including the built executables themselves) after using vcvarsall or similar to setup
|
(including the built executables themselves) after using vcvarsall or similar to setup
|
||||||
environment, as ASAN needs access to libs and executables in the toolchain paths.
|
environment, as ASAN needs access to libs and executables in the toolchain paths.
|
||||||
|
Loading…
Reference in New Issue
Block a user