Opentk/src/OpenTK/OpenTK.Android.csproj

263 lines
13 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{1648ACE1-E7D0-41CB-9A0E-C2A9D76C13A9}</ProjectGuid>
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<RootNamespace>OpenTK</RootNamespace>
<AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
<AndroidResgenClass>Resource</AndroidResgenClass>
<MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix>
<MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
<AndroidUseLatestPlatformSdk>False</AndroidUseLatestPlatformSdk>
<AssemblyName>OpenTK</AssemblyName>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\Android\</OutputPath>
<DefineConstants>DEBUG;ANDROID;OPENGLES;OPENTK_1_1</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AndroidLinkMode>None</AndroidLinkMode>
<ConsolePause>false</ConsolePause>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DocumentationFile>bin\Debug\Android\OpenTK.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<Optimize>true</Optimize>
<OutputPath>bin\Release\Android\</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
<ConsolePause>false</ConsolePause>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DefineConstants>ANDROID;OPENGLES;OPENTK_1_1</DefineConstants>
<DebugSymbols>true</DebugSymbols>
<DocumentationFile>bin\Release\Android\OpenTK.xml</DocumentationFile>
<DebugType>pdbonly</DebugType>
</PropertyGroup>
<ItemGroup>
<Reference Include="System.Xml" />
<Reference Include="Mono.Android" />
<Reference Include="System" />
</ItemGroup>
<ItemGroup>
<Compile Include="AutoGeneratedAttribute.cs" />
<Compile Include="BindingsBase.cs" />
<Compile Include="BlittableValueType.cs" />
<Compile Include="Configuration.cs" />
<Compile Include="ContextHandle.cs" />
<Compile Include="DisplayDevice.cs" />
<Compile Include="DisplayIndex.cs" />
<Compile Include="DisplayResolution.cs" />
<Compile Include="Exceptions.cs" />
<Compile Include="FrameEventArgs.cs" />
<Compile Include="GameWindow.cs" />
<Compile Include="GameWindowFlags.cs" />
<Compile Include="IGameWindow.cs" />
<Compile Include="INativeWindow.cs" />
<Compile Include="IntPtrEqualityComparer.cs" />
<Compile Include="InteropHelper.cs" />
<Compile Include="KeyPressEventArgs.cs" />
<Compile Include="Minimal.cs" />
<Compile Include="MouseCursor.cs" />
<Compile Include="NativeWindow.cs" />
<Compile Include="Platform\Android\AndroidDisplayDeviceDriver.cs" />
<Compile Include="Platform\Android\AndroidGraphicsMode.cs" />
<Compile Include="Platform\Android\GLCalls.cs" />
<Compile Include="Platform\Egl\EglException.cs" />
<Compile Include="RewrittenAttribute.cs" />
<Compile Include="SlotAttribute.cs" />
<Compile Include="Toolkit.cs" />
<Compile Include="ToolkitOptions.cs" />
<Compile Include="WindowBorder.cs" />
<Compile Include="WindowIcon.cs" />
<Compile Include="WindowState.cs" />
<Compile Include="Audio\AudioCapture.cs" />
<Compile Include="Audio\AudioContext.cs" />
<Compile Include="Audio\AudioContextException.cs" />
<Compile Include="Audio\AudioDeviceEnumerator.cs" />
<Compile Include="Audio\AudioDeviceErrorChecker.cs" />
<Compile Include="Audio\AudioDeviceException.cs" />
<Compile Include="Audio\AudioException.cs" />
<Compile Include="Audio\AudioValueException.cs" />
<Compile Include="Audio\OpenAL\AL\AL.cs" />
<Compile Include="Audio\OpenAL\AL\ALEnums.cs" />
<Compile Include="Audio\OpenAL\AL\EffectsExtension.cs" />
<Compile Include="Audio\OpenAL\AL\EffectsExtensionEnums.cs" />
<Compile Include="Audio\OpenAL\AL\EffectsExtensionPresets.cs" />
<Compile Include="Audio\OpenAL\AL\XRamExtension.cs" />
<Compile Include="Audio\OpenAL\Alc\Alc.cs" />
<Compile Include="Audio\OpenAL\Alc\AlcEnums.cs" />
<Compile Include="Graphics\Color4.cs" />
<Compile Include="Graphics\ColorFormat.cs" />
<Compile Include="Graphics\GraphicsBindingsBase.cs" />
<Compile Include="Graphics\GraphicsContext.cs" />
<Compile Include="Graphics\GraphicsContextBase.cs" />
<Compile Include="Graphics\GraphicsContextException.cs" />
<Compile Include="Graphics\GraphicsContextFlags.cs" />
<Compile Include="Graphics\GraphicsContextMissingException.cs" />
<Compile Include="Graphics\GraphicsContextVersion.cs" />
<Compile Include="Graphics\GraphicsErrorException.cs" />
<Compile Include="Graphics\GraphicsExceptions.cs" />
<Compile Include="Graphics\GraphicsMode.cs" />
<Compile Include="Graphics\GraphicsModeComparer.cs" />
<Compile Include="Graphics\GraphicsModeException.cs" />
<Compile Include="Graphics\IGraphicsContext.cs" />
<Compile Include="Graphics\IGraphicsMode.cs" />
<Compile Include="Graphics\ES11\ES11.cs" />
<Compile Include="Graphics\ES11\ES11Enums.cs" />
<Compile Include="Graphics\ES11\ErrorHelper.cs" />
<Compile Include="Graphics\ES11\Helper.cs" />
<Compile Include="Graphics\ES20\ES20.cs" />
<Compile Include="Graphics\ES20\ES20Enums.cs" />
<Compile Include="Graphics\ES20\ErrorHelper.cs" />
<Compile Include="Graphics\ES20\Helper.cs" />
<Compile Include="Graphics\ES30\ES30.cs" />
<Compile Include="Graphics\ES30\ES30Enums.cs" />
<Compile Include="Graphics\ES30\ErrorHelper.cs" />
<Compile Include="Graphics\ES30\Helper.cs" />
<Compile Include="Input\ButtonState.cs" />
<Compile Include="Input\Buttons.cs" />
<Compile Include="Input\ConfigurationType.cs" />
<Compile Include="Input\GamePad.cs" />
<Compile Include="Input\GamePadAxes.cs" />
<Compile Include="Input\GamePadButtons.cs" />
<Compile Include="Input\GamePadCapabilities.cs" />
<Compile Include="Input\GamePadConfiguration.cs" />
<Compile Include="Input\GamePadConfigurationDatabase.cs" />
<Compile Include="Input\GamePadConfigurationItem.cs" />
<Compile Include="Input\GamePadConfigurationSource.cs" />
<Compile Include="Input\GamePadConfigurationTarget.cs" />
<Compile Include="Input\GamePadDPad.cs" />
<Compile Include="Input\GamePadState.cs" />
<Compile Include="Input\GamePadThumbSticks.cs" />
<Compile Include="Input\GamePadTriggers.cs" />
<Compile Include="Input\GamePadType.cs" />
<Compile Include="Input\HatPosition.cs" />
<Compile Include="Input\IGamePadDriver.cs" />
<Compile Include="Input\IInputDevice.cs" />
<Compile Include="Input\IInputDriver.cs" />
<Compile Include="Input\IInputDriver2.cs" />
<Compile Include="Input\IJoystickDriver.cs" />
<Compile Include="Input\IJoystickDriver2.cs" />
<Compile Include="Input\IKeyboardDriver.cs" />
<Compile Include="Input\IKeyboardDriver2.cs" />
<Compile Include="Input\IMouseDriver.cs" />
<Compile Include="Input\IMouseDriver2.cs" />
<Compile Include="Input\Joystick.cs" />
<Compile Include="Input\JoystickAxis.cs" />
<Compile Include="Input\JoystickCapabilities.cs" />
<Compile Include="Input\JoystickDevice.cs" />
<Compile Include="Input\JoystickHat.cs" />
<Compile Include="Input\JoystickHatState.cs" />
<Compile Include="Input\JoystickState.cs" />
<Compile Include="Input\Key.cs" />
<Compile Include="Input\KeyModifiers.cs" />
<Compile Include="Input\Keyboard.cs" />
<Compile Include="Input\KeyboardDevice.cs" />
<Compile Include="Input\KeyboardKeyEventArgs.cs" />
<Compile Include="Input\KeyboardState.cs" />
<Compile Include="Input\Mouse.cs" />
<Compile Include="Input\MouseButton.cs" />
<Compile Include="Input\MouseDevice.cs" />
<Compile Include="Input\MouseEventArgs.cs" />
<Compile Include="Input\MouseScroll.cs" />
<Compile Include="Input\MouseState.cs" />
<Compile Include="Math\BezierCurve.cs" />
<Compile Include="Math\BezierCurveCubic.cs" />
<Compile Include="Math\BezierCurveQuadric.cs" />
<Compile Include="Math\Box2.cs" />
<Compile Include="Math\Functions.cs" />
<Compile Include="Math\Half.cs" />
<Compile Include="Math\MathHelper.cs" />
<Compile Include="Math\Matrix2.cs" />
<Compile Include="Math\Matrix2d.cs" />
<Compile Include="Math\Matrix2x3.cs" />
<Compile Include="Math\Matrix2x3d.cs" />
<Compile Include="Math\Matrix2x4.cs" />
<Compile Include="Math\Matrix2x4d.cs" />
<Compile Include="Math\Matrix3.cs" />
<Compile Include="Math\Matrix3d.cs" />
<Compile Include="Math\Matrix3x2.cs" />
<Compile Include="Math\Matrix3x2d.cs" />
<Compile Include="Math\Matrix3x4.cs" />
<Compile Include="Math\Matrix3x4d.cs" />
<Compile Include="Math\Matrix4.cs" />
<Compile Include="Math\Matrix4d.cs" />
<Compile Include="Math\Matrix4x2.cs" />
<Compile Include="Math\Matrix4x2d.cs" />
<Compile Include="Math\Matrix4x3.cs" />
<Compile Include="Math\Matrix4x3d.cs" />
<Compile Include="Math\Point.cs" />
<Compile Include="Math\Quaternion.cs" />
<Compile Include="Math\Quaterniond.cs" />
<Compile Include="Math\Rectangle.cs" />
<Compile Include="Math\Size.cs" />
<Compile Include="Math\Vector2.cs" />
<Compile Include="Math\Vector2d.cs" />
<Compile Include="Math\Vector2h.cs" />
<Compile Include="Math\Vector3.cs" />
<Compile Include="Math\Vector3d.cs" />
<Compile Include="Math\Vector3h.cs" />
<Compile Include="Math\Vector4.cs" />
<Compile Include="Math\Vector4d.cs" />
<Compile Include="Math\Vector4h.cs" />
<Compile Include="Platform\DesktopGraphicsContext.cs" />
<Compile Include="Platform\DisplayDeviceBase.cs" />
<Compile Include="Platform\EmbeddedGraphicsContext.cs" />
<Compile Include="Platform\Factory.cs" />
<Compile Include="Platform\IDisplayDeviceDriver.cs" />
<Compile Include="Platform\INativeGLWindow.cs" />
<Compile Include="Platform\IPlatformFactory.cs" />
<Compile Include="Platform\IWindowInfo.cs" />
<Compile Include="Platform\LegacyInputDriver.cs" />
<Compile Include="Platform\LegacyJoystickDriver.cs" />
<Compile Include="Platform\MappedGamePadDriver.cs" />
<Compile Include="Platform\NativeWindowBase.cs" />
<Compile Include="Platform\PlatformException.cs" />
<Compile Include="Platform\PlatformFactoryBase.cs" />
<Compile Include="Platform\Utilities.cs" />
<Compile Include="Platform\Dummy\DummyGLContext.cs" />
<Compile Include="Platform\Dummy\DummyWindowInfo.cs" />
<Compile Include="Platform\Egl\Egl.cs" />
<Compile Include="Platform\Egl\EglContext.cs" />
<Compile Include="Platform\Egl\EglGraphicsMode.cs" />
<Compile Include="Platform\Egl\EglWindowInfo.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Platform\Android\AndroidFactory.cs" />
<Compile Include="Platform\Android\Enums.cs" />
<Compile Include="Platform\Android\AndroidGameView.cs" />
<Compile Include="Platform\Android\AndroidGraphicsContext.cs" />
<Compile Include="Platform\Android\GameViewBase.cs" />
<Compile Include="Platform\X11\Bindings\DL.cs" />
</ItemGroup>
<ItemGroup>
<None Include="OpenTK.Android.csproj.paket.template" />
<None Include="OpenTK.dll.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="paket.references" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<Target Name="AfterBuild">
<Exec Command="$(OutputPath)..\..\..\..\Generator.Rewrite\bin\Debug\Rewrite.exe $(OutputPath)OpenTK.dll ..\..\OpenTK.snk -debug" Condition="$(OS) == 'Windows_NT' and $(Configuration) == 'Debug'" />
<Exec Command="$(OutputPath)..\..\..\..\Generator.Rewrite\bin\Release\Rewrite.exe $(OutputPath)OpenTK.dll ..\..\OpenTK.snk" Condition="$(OS) == 'Windows_NT' and $(Configuration) == 'Release'" />
<Exec WorkingDirectory="$(SolutionDir)src/Generator.Rewrite/bin/Debug/" Command="mono ./Rewrite.exe $(SolutionDir)src/OpenTK/bin/Debug/Android/OpenTK.dll $(SolutionDir)OpenTK.snk -debug" Condition="$(OS) != 'Windows_NT' and $(Configuration) == 'Debug'" />
<Exec WorkingDirectory="$(SolutionDir)src/Generator.Rewrite/bin/Release" Command="mono ./Rewrite.exe $(SolutionDir)src/OpenTK/bin/Release/Android/OpenTK.dll $(SolutionDir)OpenTK.snk" Condition="$(OS) != 'Windows_NT' and $(Configuration) == 'Release'" />
</Target>
</Project>