mirror of
https://github.com/raylib-cs/raylib-cs
synced 2025-04-03 11:09:40 -04:00
Work on nuget support
- Improved Raylib-cs.nuspec. - Added Raylib-cs.targets file to copy dll for user.
This commit is contained in:
parent
d4d47694d4
commit
712106a58b
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0"?>
|
||||
<package >
|
||||
<package>
|
||||
<metadata>
|
||||
<id>Raylib-cs</id>
|
||||
<version>1.3</version>
|
||||
@ -14,7 +14,19 @@
|
||||
<tags>raylib csharp binding opengl gamedev</tags>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="Bindings\lib\**\*.dll*" target="lib" />
|
||||
<file src="Bindings\*.cs" target="Content\raylib-cs" />
|
||||
<file src="Raylib-cs.targets" target="build" />
|
||||
|
||||
<file src="*Bindings\Easings.cs" target="Content\raylib-cs" />
|
||||
<!--<file src="*Bindings\Physac.cs" target="Content\raylib-cs" />-->
|
||||
<file src="*Bindings\Raygui.cs" target="Content\raylib-cs" />
|
||||
<file src="*Bindings\Raylib.cs" target="Content\raylib-cs" />
|
||||
<file src="*Bindings\Raymath.cs" target="Content\raylib-cs" />
|
||||
<!--<file src="*Bindings\Rlgl.cs" target="Content\raylib-cs" />-->
|
||||
|
||||
<!-- Native Libs -->
|
||||
<file src="Bindings\native\x86\raylib.dll" target="native\x86" />
|
||||
<file src="Bindings\native\x86\raylib.pdb" target="native\x86" />
|
||||
<file src="Bindings\native\x64\raylib.dll" target="native\x64" />
|
||||
<file src="Bindings\native\x64\raylib.pdb" target="native\x64" />
|
||||
</files>
|
||||
</package>
|
||||
|
17
Raylib-cs.targets
Normal file
17
Raylib-cs.targets
Normal file
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<ItemGroup Condition=" '$(Platform)' == 'x64' ">
|
||||
<Content Include="$(MSBuildThisFileDirectory)..\native\x64\raylib.dll">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<Link>raylib.dll</Link>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition=" '$(Platform)' == 'x86' OR '$(Platform)' == 'AnyCPU' ">
|
||||
<Content Include="$(MSBuildThisFileDirectory)..\native\x86\raylib.dll">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<Link>raylib.dll</Link>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
</Project>
|
Loading…
x
Reference in New Issue
Block a user