Skip to content
Permalink
Browse files

[Build] Improved cross compilation

  • Loading branch information
xen2 committed Oct 30, 2018
1 parent 78b6d2d commit 29d24fe0cde9fe6be8eb2bced3250220c4bdf22b
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>Xenko.OpenTK</id>
<version>1.0.0</version>
<authors>Xenko contributors and OpenTK team</authors>
<owners>Xenko contributors and OpenTK team</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>OpenTK for Xenko</description>
</metadata>

<files>
<file src="OpenTK.dll" target="ref\net45" />
<file src="OpenTK.dll" target="runtimes\win\lib\net45" />
<file src="Linux\OpenTK.dll" target="lib\netstandard2.0" />
<file src="Android\OpenTK-1.1.dll" target="lib\monoandroid50" />
<file src="iOS\OpenTK-1.1.dll" target="lib\xamarinios10" />
</files>
</package>
@@ -3,6 +3,7 @@

<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<RuntimeIdentifier>linux-opengl</RuntimeIdentifier>
<ApplicationIcon>Resources\Icon.ico</ApplicationIcon>
<OutputType>WinExe</OutputType>
<RootNamespace><#= Properties.Namespace #></RootNamespace>
@@ -1,4 +1,4 @@
<Project>
<Project>
<PropertyGroup>
<XenkoAssemblySign>true</XenkoAssemblySign>
<XenkoGraphicsApiDependent>true</XenkoGraphicsApiDependent>
@@ -28,19 +28,6 @@
</ItemGroup>
</When>
</Choose>
<Choose>
<When Condition=" '$(XenkoGraphicsApi)' == 'OpenGL' Or '$(XenkoGraphicsApi)' == 'OpenGLES' ">
<Choose>
<When Condition=" '$(XenkoPlatform)' == 'Windows' ">
<ItemGroup>
<Reference Include="OpenTK" Private="True">
<HintPath>$(XenkoDependenciesDir)OpenTK\OpenTK.dll</HintPath>
</Reference>
</ItemGroup>
</When>
</Choose>
</When>
</Choose>
<ItemGroup>
<Compile Include="..\..\shared\SharedAssemblyInfo.cs">
<Link>Properties\SharedAssemblyInfo.cs</Link>
@@ -57,8 +44,6 @@
<ProjectReference Include="..\Xenko.Graphics\Xenko.Graphics.csproj" />
<ProjectReference Include="..\..\core\Xenko.Core.Mathematics\Xenko.Core.Mathematics.csproj" />
<ProjectReference Include="..\Xenko\Xenko.csproj" />
<PackageReference Include="SharpDX.Direct3D11" Version="4.0.1" Condition="'$(XenkoGraphicsApi)' == 'Direct3D11'" />
<PackageReference Include="SharpDX.Direct3D12" Version="4.0.1" Condition="'$(XenkoGraphicsApi)' == 'Direct3D12'" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Resources\GameResources.resx" Condition=" '$(XenkoPlatform)' == 'Windows'">

This file was deleted.

This file was deleted.

0 comments on commit 29d24fe

Please sign in to comment.
You can’t perform that action at this time.