2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-04-03 11:09:40 -04:00
raylib-cs/Raylib-cs/Raylib-cs.targets
Ben Parsons ff96c5f420 Added Platform.cs - to copy (correct) native library at runtime (for netfx)
Targets file now copies runtimes folder to output directory
minor bug fix in sln file.
2020-05-08 02:20:20 +10:00

35 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<None Update="runtimes\**\*.*">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<Visible>false</Visible>
</None>
</ItemGroup>
<ItemGroup Condition=" '$(Platform)' == 'osx-x64' Or '$(Platform)' == 'x64'">
<Content Include="raylib">
<PackagePath>runtimes\osx-x64\native\libraylib.dylib</PackagePath>
<Pack>true</Pack>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup Condition="'$(Platform)' == 'x64' Or '$(Platform)' == 'win-x64'">
<Content Include="raylib">
<PackagePath>runtimes\win-x64\native\raylib.dll</PackagePath>
<Pack>true</Pack>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup Condition=" '$(Platform)' == 'linux-x64' Or '$(Platform)' == 'x64'">
<Content Include="raylib">
<PackagePath>runtimes\linux-x64\native\raylib.so</PackagePath>
<Pack>true</Pack>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
</Project>