mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-12-12 16:31:34 +00:00
126 lines
8.4 KiB
XML
126 lines
8.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<AssemblyName>OpenTK</AssemblyName>
|
|
<TargetFramework>netstandard2.0</TargetFramework>
|
|
<RootNamespace>OpenTK</RootNamespace>
|
|
<DefineConstants>DEBUG;TRACE;WIN32;CARBON;X11;OPENGL;OPENGLES;MINIMAL</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
|
<BaseAddress>285212672</BaseAddress>
|
|
<ConfigurationOverrideFile>
|
|
</ConfigurationOverrideFile>
|
|
<DocumentationFile>bin\Debug\OpenTK.xml</DocumentationFile>
|
|
<FileAlignment>4096</FileAlignment>
|
|
<Optimize>False</Optimize>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<RegisterForComInterop>False</RegisterForComInterop>
|
|
<RemoveIntegerChecks>False</RemoveIntegerChecks>
|
|
<WarningLevel>4</WarningLevel>
|
|
<DebugSymbols>True</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
|
<BaseAddress>285212672</BaseAddress>
|
|
<ConfigurationOverrideFile>
|
|
</ConfigurationOverrideFile>
|
|
<DocumentationFile>bin\Release\OpenTK.xml</DocumentationFile>
|
|
<FileAlignment>4096</FileAlignment>
|
|
<Optimize>True</Optimize>
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
<RegisterForComInterop>False</RegisterForComInterop>
|
|
<RemoveIntegerChecks>False</RemoveIntegerChecks>
|
|
<WarningLevel>4</WarningLevel>
|
|
<DebugSymbols>True</DebugSymbols>
|
|
<DebugType>pdbonly</DebugType>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<SignAssembly>True</SignAssembly>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<AssemblyOriginatorKeyFile>..\..\OpenTK.snk</AssemblyOriginatorKeyFile>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Compile Remove="Graphics\ES31\**" />
|
|
<Compile Remove="Platform\Android\**" />
|
|
<Compile Remove="Platform\iPhoneOS\**" />
|
|
<Compile Remove="Resources\**" />
|
|
<EmbeddedResource Remove="Graphics\ES31\**" />
|
|
<EmbeddedResource Remove="Platform\Android\**" />
|
|
<EmbeddedResource Remove="Platform\iPhoneOS\**" />
|
|
<EmbeddedResource Remove="Resources\**" />
|
|
<None Remove="Graphics\ES31\**" />
|
|
<None Remove="Platform\Android\**" />
|
|
<None Remove="Platform\iPhoneOS\**" />
|
|
<None Remove="Resources\**" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Remove="Properties\AssemblyInfo.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<AdditionalFiles Include="$(SolutionDir)\stylecop.json">
|
|
<Link>stylecop.json</Link>
|
|
</AdditionalFiles>
|
|
<AdditionalFiles Include="$(SolutionDir)\stylecop.ruleset">
|
|
<Link>stylecop.ruleset</Link>
|
|
</AdditionalFiles>
|
|
</ItemGroup>
|
|
<PropertyGroup>
|
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
|
<Version>1.0.5</Version>
|
|
<Description>The Open Toolkit library (OpenTK) is an advanced, low-level C# wrapper for OpenGL, OpenGL ES, OpenAL and Vulkan.
|
|
It is suitable for games, scientific visualizations and projects that require 3d graphics, audio or compute functionality.
|
|
|
|
Features
|
|
- Create cutting-edge graphics with OpenGL 4.6, OpenGL ES 3.0 and Vulkan
|
|
- Use the .Net/Mono language of your choice: C#, F#, VB.Net, Boo, IronPython, IronRuby
|
|
- Develop faster with inline documentation and strongly-typed enumerations for all OpenGL, OpenAL and Vulkan functions
|
|
|
|
This is a .NET Core-compatible version of OpenTK.
|
|
This version can be found at https://github.com/Ryujinx/Opentk</Description>
|
|
<PackageId>OpenTK.NetStandard</PackageId>
|
|
<Authors>emmaus</Authors>
|
|
<Company>emmaus</Company>
|
|
<Product>OpenTK</Product>
|
|
<PackageProjectUrl>https://github.com/Ryujinx/Opentk</PackageProjectUrl>
|
|
<AssemblyVersion>1.0.5.0</AssemblyVersion>
|
|
<FileVersion>1.0.5.0</FileVersion>
|
|
</PropertyGroup>
|
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
|
<Exec Command="$(OutputPath)..\..\..\..\Generator.Rewrite\bin\Debug\Rewrite.exe --assembly $(OutputPath)OpenTK.dll --signing-key ..\..\OpenTK.snk -debug -netstandard" Condition="$(OS) == 'Windows_NT' and $(Configuration) == 'Debug'" />
|
|
<Exec Command="$(OutputPath)..\..\..\..\Generator.Rewrite\bin\Debug\Rewrite.exe --assembly $(OutputPath)OpenTK.dll --signing-key ..\..\OpenTK.snk -netstandard" Condition="$(OS) == 'Windows_NT' and $(Configuration) == 'Release'" />
|
|
<Exec Command="mono $(OutputPath)..\..\..\..\Generator.Rewrite\bin\Debug\Rewrite.exe --assembly $(OutputPath)OpenTK.dll --signing-key ..\..\OpenTK.snk -debug -netstandard" Condition="$(OS) != 'Windows_NT' and $(Configuration) == 'Debug'" />
|
|
<Exec Command="mono $(OutputPath)..\..\..\..\Generator.Rewrite\bin\Debug\Rewrite.exe --assembly $(OutputPath)OpenTK.dll --signing-key ..\..\OpenTK.snk -netstandard" Condition="$(OS) != 'Windows_NT' and $(Configuration) == 'Release'" />
|
|
</Target>
|
|
<ProjectExtensions>
|
|
<MonoDevelop>
|
|
<Properties>
|
|
<Policies>
|
|
<TextStylePolicy inheritsSet="VisualStudio" inheritsScope="text/plain" scope="text/plain" />
|
|
<CSharpFormattingPolicy IndentSwitchBody="True" AnonymousMethodBraceStyle="NextLine" PropertyBraceStyle="NextLine" PropertyGetBraceStyle="NextLine" PropertySetBraceStyle="NextLine" EventBraceStyle="NextLine" EventAddBraceStyle="NextLine" EventRemoveBraceStyle="NextLine" StatementBraceStyle="NextLine" ElseNewLinePlacement="NewLine" CatchNewLinePlacement="NewLine" FinallyNewLinePlacement="NewLine" WhileNewLinePlacement="NewLine" ArrayInitializerBraceStyle="NextLine" BeforeMethodDeclarationParentheses="False" BeforeMethodCallParentheses="False" BeforeConstructorDeclarationParentheses="False" BeforeIndexerDeclarationBracket="False" BeforeDelegateDeclarationParentheses="False" NewParentheses="False" SpacesBeforeBrackets="False" BlankLinesBeforeFirstDeclaration="1" AlignToFirstMethodDeclarationParameter="False" AlignToFirstIndexerDeclarationParameter="False" inheritsSet="Mono" inheritsScope="text/x-csharp" scope="text/x-csharp" />
|
|
<TextStylePolicy FileWidth="120" inheritsSet="VisualStudio" inheritsScope="text/plain" scope="text/x-csharp" />
|
|
<StandardHeader Text="#region License

${FileName}
 
Author:
 ${AuthorName} <${AuthorEmail}>

Copyright (c) 2006-${Year} ${CopyrightHolder}

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

#endregion" IncludeInNewFiles="True" />
|
|
<TextStylePolicy TabWidth="2" IndentWidth="2" NoTabsAfterNonTabs="True" inheritsSet="VisualStudio" inheritsScope="text/plain" scope="application/xml" />
|
|
<XmlFormattingPolicy inheritsSet="Mono" inheritsScope="application/xml" scope="application/xml" />
|
|
</Policies>
|
|
</Properties>
|
|
</MonoDevelop>
|
|
</ProjectExtensions>
|
|
<ItemGroup>
|
|
<PackageReference Include="System.Drawing.Common" Version="4.5.0" />
|
|
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.5.2" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Folder Include="Properties\" />
|
|
</ItemGroup>
|
|
<Target Name="AutoGenerateBindings" BeforeTargets="CoreCompile">
|
|
<Message Text="Generating bindings." />
|
|
<Exec Command="dotnet run --project ..\vk.generator\vk.generator.csproj --out $(MSBuildThisFileDirectory)Graphics\Vulkan\Generated" />
|
|
</Target>
|
|
<Target Name="RewriteCalliStubs" AfterTargets="Build" Condition="'$(DisableCalli)' != 'true'">
|
|
<Message Text="Rewriting calli stubs." />
|
|
<Exec Command="dotnet run --project ..\vk.rewrite\vk.rewrite.csproj --vkdll $(TargetPath)" />
|
|
</Target>
|
|
</Project>
|