123456789101112131415161718192021222324 |
- <?xml version="1.0" encoding="utf-8"?>
- <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <_Veldrid_SPIRV_IsWindows Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' == 'true'">true</_Veldrid_SPIRV_IsWindows>
- <_Veldrid_SPIRV_IsMacOS Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' == 'true'">true</_Veldrid_SPIRV_IsMacOS>
- <_Veldrid_SPIRV_IsLinux Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true'">true</_Veldrid_SPIRV_IsLinux>
- <_Veldrid_SPIRV_NativeRuntime Condition=" '$(_Veldrid_SPIRV_NativeRuntime)' == '' And '$(_Veldrid_SPIRV_IsMacOS)' == 'true'">osx</_Veldrid_SPIRV_NativeRuntime>
- <_Veldrid_SPIRV_NativeRuntime Condition=" '$(_Veldrid_SPIRV_NativeRuntime)' == '' And '$(_Veldrid_SPIRV_IsLinux)' == 'true' And ('$(Prefer32Bit)' == 'false' Or '$(PlatformTarget)' == 'x64')">linux-x64</_Veldrid_SPIRV_NativeRuntime>
- <_Veldrid_SPIRV_NativeRuntime Condition=" '$(_Veldrid_SPIRV_NativeRuntime)' == '' And '$(_Veldrid_SPIRV_IsWindows)' == 'true' And ('$(Prefer32Bit)' == 'true' Or '$(PlatformTarget)' == 'x86')">win-x86</_Veldrid_SPIRV_NativeRuntime>
- <_Veldrid_SPIRV_NativeRuntime Condition=" '$(_Veldrid_SPIRV_NativeRuntime)' == '' And '$(_Veldrid_SPIRV_IsWindows)' == 'true' And ('$(Prefer32Bit)' == 'false' Or '$(PlatformTarget)' == 'x64')">win-x64</_Veldrid_SPIRV_NativeRuntime>
- <_Veldrid_SPIRV_NativeLibName Condition="'$(_Veldrid_SPIRV_NativeRuntime)' == 'win-x86' Or '$(_Veldrid_SPIRV_NativeRuntime)' == 'win-x64'">libveldrid-spirv.dll</_Veldrid_SPIRV_NativeLibName>
- <_Veldrid_SPIRV_NativeLibName Condition="'$(_Veldrid_SPIRV_NativeRuntime)' == 'osx'">libveldrid-spirv.dylib</_Veldrid_SPIRV_NativeLibName>
- <_Veldrid_SPIRV_NativeLibName Condition="'$(_Veldrid_SPIRV_NativeRuntime)' == 'linux-x64'">libveldrid-spirv.so</_Veldrid_SPIRV_NativeLibName>
- </PropertyGroup>
- <ItemGroup>
- <Content Condition="'$(_Veldrid_SPIRV_NativeRuntime)' != ''" Include="$(MSBuildThisFileDirectory)..\..\runtimes\$(_Veldrid_SPIRV_NativeRuntime)\native\$(_Veldrid_SPIRV_NativeLibName)">
- <Link>%(Filename)%(Extension)</Link>
- <CopyToOutputDirectory>Always</CopyToOutputDirectory>
- <Visible>False</Visible>
- </Content>
- </ItemGroup>
- </Project>
|