Merge pull request #602 from Nihlus/unix-unofficial-xamarin-android
Support building OpenTK.Android on Linux
This commit is contained in:
commit
cd1bce55ef
2 changed files with 10 additions and 0 deletions
|
@ -1,6 +1,10 @@
|
|||
#if ANDROID || IPHONE || MINIMAL
|
||||
using System;
|
||||
|
||||
#if !MINIMAL
|
||||
using System.Drawing;
|
||||
#endif
|
||||
|
||||
namespace OpenTK
|
||||
{
|
||||
// Override a number of System.* classes when compiling for
|
||||
|
|
|
@ -43,6 +43,12 @@
|
|||
<DocumentationFile>bin\Release\Android\OpenTK.xml</DocumentationFile>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(OS)' == 'Unix' ">
|
||||
<MonoAndroidToolsDirectory>/usr/lib/mono/mandroid</MonoAndroidToolsDirectory>
|
||||
<MonoAndroidBinDirectory>/usr/lib/mono/xamarin-android/bin</MonoAndroidBinDirectory>
|
||||
<AndroidSdkDirectory>$(ANDROID_SDK_PATH)</AndroidSdkDirectory>
|
||||
<AndroidNdkDirectory>$(ANDROID_NDK_PATH)</AndroidNdkDirectory>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="Mono.Android" />
|
||||
|
|
Loading…
Reference in a new issue