|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 | 2 | <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
3 | 3 | <PropertyGroup>
|
4 |
| - <_IsWindows Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' == 'true'">true</_IsWindows> |
5 |
| - <_IsMacOS Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' == 'true'">true</_IsMacOS> |
6 |
| - <_IsLinux Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true'">true</_IsLinux> |
| 4 | + <_Veldrid_SPIRV_IsWindows Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' == 'true'">true</_Veldrid_SPIRV_IsWindows> |
| 5 | + <_Veldrid_SPIRV_IsMacOS Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' == 'true'">true</_Veldrid_SPIRV_IsMacOS> |
| 6 | + <_Veldrid_SPIRV_IsLinux Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true'">true</_Veldrid_SPIRV_IsLinux> |
7 | 7 |
|
8 |
| - <_NativeRuntime Condition=" '$(_NativeRuntime)' == '' And '$(_IsMacOS)' == 'true' And ('$(Prefer32Bit)' == 'false' Or '$(PlatformTarget)' == 'x64')">osx-x64</_NativeRuntime> |
9 |
| - <_NativeRuntime Condition=" '$(_NativeRuntime)' == '' And '$(_IsLinux)' == 'true' And ('$(Prefer32Bit)' == 'false' Or '$(PlatformTarget)' == 'x64')">linux-x64</_NativeRuntime> |
10 |
| - <_NativeRuntime Condition=" '$(_NativeRuntime)' == '' And '$(_IsWindows)' == 'true' And ('$(Prefer32Bit)' == 'true' Or '$(PlatformTarget)' == 'x86')">win-x86</_NativeRuntime> |
11 |
| - <_NativeRuntime Condition=" '$(_NativeRuntime)' == '' And '$(_IsWindows)' == 'true' And ('$(Prefer32Bit)' == 'false' Or '$(PlatformTarget)' == 'x64')">win-x64</_NativeRuntime> |
| 8 | + <_Veldrid_SPIRV_NativeRuntime Condition=" '$(_Veldrid_SPIRV_NativeRuntime)' == '' And '$(_Veldrid_SPIRV_IsMacOS)' == 'true' And ('$(Prefer32Bit)' == 'false' Or '$(PlatformTarget)' == 'x64')">osx-x64</_Veldrid_SPIRV_NativeRuntime> |
| 9 | + <_Veldrid_SPIRV_NativeRuntime Condition=" '$(_Veldrid_SPIRV_NativeRuntime)' == '' And '$(_Veldrid_SPIRV_IsLinux)' == 'true' And ('$(Prefer32Bit)' == 'false' Or '$(PlatformTarget)' == 'x64')">linux-x64</_Veldrid_SPIRV_NativeRuntime> |
| 10 | + <_Veldrid_SPIRV_NativeRuntime Condition=" '$(_Veldrid_SPIRV_NativeRuntime)' == '' And '$(_Veldrid_SPIRV_IsWindows)' == 'true' And ('$(Prefer32Bit)' == 'true' Or '$(PlatformTarget)' == 'x86')">win-x86</_Veldrid_SPIRV_NativeRuntime> |
| 11 | + <_Veldrid_SPIRV_NativeRuntime Condition=" '$(_Veldrid_SPIRV_NativeRuntime)' == '' And '$(_Veldrid_SPIRV_IsWindows)' == 'true' And ('$(Prefer32Bit)' == 'false' Or '$(PlatformTarget)' == 'x64')">win-x64</_Veldrid_SPIRV_NativeRuntime> |
12 | 12 |
|
13 |
| - <_NativeLibName Condition="'$(_NativeRuntime)' == 'win-x86' Or '$(_NativeRuntime)' == 'win-x64'">libveldrid-spirv.dll</_NativeLibName> |
14 |
| - <_NativeLibName Condition="'$(_NativeRuntime)' == 'osx-x64'">libveldrid-spirv.dylib</_NativeLibName> |
15 |
| - <_NativeLibName Condition="'$(_NativeRuntime)' == 'linux-x64'">libveldrid-spirv.so</_NativeLibName> |
| 13 | + <_Veldrid_SPIRV_NativeLibName Condition="'$(_Veldrid_SPIRV_NativeRuntime)' == 'win-x86' Or '$(_Veldrid_SPIRV_NativeRuntime)' == 'win-x64'">libveldrid-spirv.dll</_Veldrid_SPIRV_NativeLibName> |
| 14 | + <_Veldrid_SPIRV_NativeLibName Condition="'$(_Veldrid_SPIRV_NativeRuntime)' == 'osx-x64'">libveldrid-spirv.dylib</_Veldrid_SPIRV_NativeLibName> |
| 15 | + <_Veldrid_SPIRV_NativeLibName Condition="'$(_Veldrid_SPIRV_NativeRuntime)' == 'linux-x64'">libveldrid-spirv.so</_Veldrid_SPIRV_NativeLibName> |
16 | 16 | </PropertyGroup>
|
17 | 17 | <ItemGroup>
|
18 |
| - <Content Condition="'$(_NativeRuntime)' != ''" Include="$(MSBuildThisFileDirectory)..\..\runtimes\$(_NativeRuntime)\native\$(_NativeLibName)"> |
| 18 | + <Content Condition="'$(_Veldrid_SPIRV_NativeRuntime)' != ''" Include="$(MSBuildThisFileDirectory)..\..\runtimes\$(_Veldrid_SPIRV_NativeRuntime)\native\$(_Veldrid_SPIRV_NativeLibName)"> |
19 | 19 | <Link>%(Filename)%(Extension)</Link>
|
20 | 20 | <CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
21 | 21 | <Visible>False</Visible>
|
|
0 commit comments