2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-04-03 11:09:40 -04:00

Updated Build platforms

For upcoming NuGet support
This commit is contained in:
Ben Parsons 2020-05-02 03:44:06 +10:00
parent feae933468
commit c8ddc440bb
3 changed files with 36 additions and 27 deletions

View File

@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFrameworks>net47;netcoreapp3.1</TargetFrameworks> <TargetFrameworks>net47;netcoreapp3.1</TargetFrameworks>
<Platforms>x64</Platforms> <Platforms>AnyCPU</Platforms>
<Configurations>Debug;Release</Configurations>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>

View File

@ -17,30 +17,14 @@ Global
Release|x86 = Release|x86 Release|x86 = Release|x86
EndGlobalSection EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution GlobalSection(ProjectConfigurationPlatforms) = postSolution
{5B690E7B-6D8C-4AA8-92AE-A3BF0750B573}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {B02C431E-271A-432E-BA5C-EE3B68DBF585}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5B690E7B-6D8C-4AA8-92AE-A3BF0750B573}.Debug|Any CPU.Build.0 = Debug|Any CPU {B02C431E-271A-432E-BA5C-EE3B68DBF585}.Release|Any CPU.Build.0 = Release|Any CPU
{5B690E7B-6D8C-4AA8-92AE-A3BF0750B573}.Debug|x64.ActiveCfg = Debug|Any CPU {B02C431E-271A-432E-BA5C-EE3B68DBF585}.Debug|Any CPU.ActiveCfg = Debug|linux-x64
{5B690E7B-6D8C-4AA8-92AE-A3BF0750B573}.Debug|x64.Build.0 = Debug|Any CPU {B02C431E-271A-432E-BA5C-EE3B68DBF585}.Debug|Any CPU.Build.0 = Debug|linux-x64
{5B690E7B-6D8C-4AA8-92AE-A3BF0750B573}.Debug|x86.ActiveCfg = Debug|Any CPU {523DEE6A-20CD-47AB-94A6-8D3C3CF9ADAD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5B690E7B-6D8C-4AA8-92AE-A3BF0750B573}.Debug|x86.Build.0 = Debug|Any CPU {523DEE6A-20CD-47AB-94A6-8D3C3CF9ADAD}.Release|Any CPU.Build.0 = Release|Any CPU
{5B690E7B-6D8C-4AA8-92AE-A3BF0750B573}.Release|Any CPU.ActiveCfg = Release|Any CPU {523DEE6A-20CD-47AB-94A6-8D3C3CF9ADAD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5B690E7B-6D8C-4AA8-92AE-A3BF0750B573}.Release|Any CPU.Build.0 = Release|Any CPU {523DEE6A-20CD-47AB-94A6-8D3C3CF9ADAD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5B690E7B-6D8C-4AA8-92AE-A3BF0750B573}.Release|x64.ActiveCfg = Release|Any CPU
{5B690E7B-6D8C-4AA8-92AE-A3BF0750B573}.Release|x64.Build.0 = Release|Any CPU
{5B690E7B-6D8C-4AA8-92AE-A3BF0750B573}.Release|x86.ActiveCfg = Release|Any CPU
{5B690E7B-6D8C-4AA8-92AE-A3BF0750B573}.Release|x86.Build.0 = Release|Any CPU
{5A7FD12F-FCF7-4F2B-8D44-3888BF4C4166}.Debug|Any CPU.ActiveCfg = Debug|x64
{5A7FD12F-FCF7-4F2B-8D44-3888BF4C4166}.Debug|Any CPU.Build.0 = Debug|x64
{5A7FD12F-FCF7-4F2B-8D44-3888BF4C4166}.Debug|x64.ActiveCfg = Debug|x64
{5A7FD12F-FCF7-4F2B-8D44-3888BF4C4166}.Debug|x64.Build.0 = Debug|x64
{5A7FD12F-FCF7-4F2B-8D44-3888BF4C4166}.Debug|x86.ActiveCfg = Debug|x64
{5A7FD12F-FCF7-4F2B-8D44-3888BF4C4166}.Debug|x86.Build.0 = Debug|x64
{5A7FD12F-FCF7-4F2B-8D44-3888BF4C4166}.Release|Any CPU.ActiveCfg = Release|x64
{5A7FD12F-FCF7-4F2B-8D44-3888BF4C4166}.Release|Any CPU.Build.0 = Release|x64
{5A7FD12F-FCF7-4F2B-8D44-3888BF4C4166}.Release|x64.ActiveCfg = Release|x64
{5A7FD12F-FCF7-4F2B-8D44-3888BF4C4166}.Release|x64.Build.0 = Release|x64
{5A7FD12F-FCF7-4F2B-8D44-3888BF4C4166}.Release|x86.ActiveCfg = Release|x64
{5A7FD12F-FCF7-4F2B-8D44-3888BF4C4166}.Release|x86.Build.0 = Release|x64
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE

View File

@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework> <Platforms>AnyCPU;osx-x64;linux-x64;win-x64</Platforms>
<Platforms>x64</Platforms> <Configurations>Debug;Release</Configurations>
<TargetFrameworks>netstandard2.0;netcoreapp3.1</TargetFrameworks>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
@ -12,10 +13,33 @@
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup> </PropertyGroup>
<PropertyGroup>
<Version>3.0.0</Version>
<PackProject>true</PackProject>
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);GetNativeLibraryFiles</TargetsForTfmSpecificBuildOutput>
<PackageLicenseExpression>Zlib</PackageLicenseExpression>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<Compile Include="Easings.cs" /> <Compile Include="Easings.cs" />
<Compile Include="Raylib.cs" /> <Compile Include="Raylib.cs" />
<Compile Include="Raymath.cs" /> <Compile Include="Raymath.cs" />
<Compile Include="Rlgl.cs" /> <Compile Include="Rlgl.cs" />
</ItemGroup> </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> </Project>