Skip to content

Commit

Permalink
Simplify some host platform checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp committed Dec 29, 2023
1 parent d6632e6 commit 1169a7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sdk/build/Vezel.Zig.Sdk.Emulator.targets
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
</PropertyGroup>

<!-- TODO: https://github.com/vezel-dev/zig-sdk/issues/6 -->
<PropertyGroup Condition="'$(TargetSystem)' == 'macos' and ('$(TargetArchitecture)' == 'x86' or '$(TargetArchitecture)' == 'x86_64') and '$(HostSystem)' == 'linux' and '$(HostArchitecture)' == 'x86_64'">
<PropertyGroup Condition="'$(TargetSystem)' == 'macos' and ('$(TargetArchitecture)' == 'x86' or '$(TargetArchitecture)' == 'x86_64') and '$(HostSystem)-$(HostArchitecture)' == 'linux-x86_64'">
<_EmulatorName>darling</_EmulatorName>
<_EmulatorCommand>darling</_EmulatorCommand>
</PropertyGroup>

<!-- TODO: https://github.com/vezel-dev/zig-sdk/issues/6 -->
<PropertyGroup Condition="'$(TargetSystem)' == 'macos' and ('$(TargetArchitecture)' == 'x86' or '$(TargetArchitecture)' == 'x86_64') and '$(HostSystem)' == 'windows' and '$(HostArchitecture)' == 'x86_64'">
<PropertyGroup Condition="'$(TargetSystem)' == 'macos' and ('$(TargetArchitecture)' == 'x86' or '$(TargetArchitecture)' == 'x86_64') and '$(HostSystem)-$(HostArchitecture)' == 'windows-x86_64'">
<_EmulatorName>wsl darling</_EmulatorName>
<_EmulatorCommand>wsl</_EmulatorCommand>
<_EmulatorArgumentPrefix>darling "`wslpath </_EmulatorArgumentPrefix>
Expand Down

0 comments on commit 1169a7f

Please sign in to comment.