mirror of
https://github.com/raylib-cs/raylib-cs
synced 2025-06-30 19:03:42 -04:00
Updated Build platforms
For upcoming NuGet support
This commit is contained in:
@ -1,7 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
<Platforms>x64</Platforms>
|
||||
<Platforms>AnyCPU;osx-x64;linux-x64;win-x64</Platforms>
|
||||
<Configurations>Debug;Release</Configurations>
|
||||
<TargetFrameworks>netstandard2.0;netcoreapp3.1</TargetFrameworks>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
@ -12,10 +13,33 @@
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<Version>3.0.0</Version>
|
||||
<PackProject>true</PackProject>
|
||||
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);GetNativeLibraryFiles</TargetsForTfmSpecificBuildOutput>
|
||||
<PackageLicenseExpression>Zlib</PackageLicenseExpression>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="Easings.cs" />
|
||||
<Compile Include="Raylib.cs" />
|
||||
<Compile Include="Raymath.cs" />
|
||||
<Compile Include="Rlgl.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="GetNativeLibraryFiles">
|
||||
<ItemGroup>
|
||||
<TfmSpecificPackageFile Include="$(BaseOutputPath)\..\runtimes\linux-x64\libraylib.so">
|
||||
<PackagePath>runtimes/linux-x64/native</PackagePath>
|
||||
</TfmSpecificPackageFile>
|
||||
<TfmSpecificPackageFile Include="$(BaseOutputPath)\..\runtimes\win-x64\raylib.dll">
|
||||
<PackagePath>runtimes/win-x64/native</PackagePath>
|
||||
</TfmSpecificPackageFile>
|
||||
<TfmSpecificPackageFile Include="$(BaseOutputPath)\..\runtimes\osx-x64\libraylib.a">
|
||||
<PackagePath>runtimes/osx-x64/native</PackagePath>
|
||||
</TfmSpecificPackageFile>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
|
||||
|
Reference in New Issue
Block a user