Improved Nuget native library handling
This commit is contained in:
parent
38675b0c4d
commit
cea720ba21
2 changed files with 23 additions and 15 deletions
|
|
@ -1,27 +1,35 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<ItemGroup Condition=" '$(Platform)' == 'osx-x64' ">
|
||||
<Reference Include="raylib">
|
||||
<HintPath>..\..\runtimes\osx-x64\native\libraylib.dylib</HintPath>
|
||||
</Reference>
|
||||
<ItemGroup Condition=" '$(Platform)' == 'osx-x64' Or '$(Platform)' == 'AnyCPU' Or '$(Platform)' == 'x64'">
|
||||
<Content Include="raylib">
|
||||
<PackagePath>runtimes\osx-x64\libraylib.dylib</PackagePath>
|
||||
<Pack>true</Pack>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition=" '$(Platform)' == 'win-x86' Or '$(Platform)' == 'AnyCPU' Or '$(Platform)' == 'x86'">
|
||||
<Reference Include="raylib">
|
||||
<HintPath>..\..\runtimes\win-x86\native\raylib.dll</HintPath>
|
||||
</Reference>
|
||||
<Content Include="raylib">
|
||||
<PackagePath>runtimes\win-x86\raylib.dll</PackagePath>
|
||||
<Pack>true</Pack>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition=" '$(Platform)' == 'win-x64' Or '$(Platform)' == 'x64'">
|
||||
<Reference Include="raylib">
|
||||
<HintPath>..\..\runtimes\win-x64\native\raylib.dll</HintPath>
|
||||
</Reference>
|
||||
<Content Include="raylib">
|
||||
<PackagePath>runtimes\win-x64\raylib.dll</PackagePath>
|
||||
<Pack>true</Pack>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition=" '$(Platform)' == 'linux-x64'">
|
||||
<Reference Include="raylib">
|
||||
<HintPath>..\..\runtimes\linux-x64\native\raylib.so</HintPath>
|
||||
</Reference>
|
||||
<ItemGroup Condition=" '$(Platform)' == 'linux-x64' Or '$(Platform)' == 'AnyCPU' Or '$(Platform)' == 'x64'">
|
||||
<Content Include="raylib">
|
||||
<PackagePath>runtimes\linux-x64\raylib.dll</PackagePath>
|
||||
<Pack>true</Pack>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
|
|||
Loading…
Reference in a new issue