mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 01:25:39 +00:00
commit
d50c2fcea0
151
.gitignore
vendored
151
.gitignore
vendored
|
@ -1,56 +1,29 @@
|
|||
# Ignores specific to OpenTK.
|
||||
Binaries/
|
||||
OpenTK.userprefs
|
||||
Source/GlobalAssemblyInfo.cs
|
||||
Version.txt
|
||||
Build.txt
|
||||
Timestamp.txt
|
||||
Source/OpenTK/OpenTK.xml
|
||||
Source/GLControl/OpenTK.GLControl.xml
|
||||
Documentation/Source
|
||||
opentk*.exe
|
||||
opentk*.zip
|
||||
opentk*.nupkg
|
||||
Installers/Nuget/lib
|
||||
|
||||
# OpenTK Resource files that seem like they should be ignored:
|
||||
Source/Compatibility/Properties/Resources.resources
|
||||
Source/Compatibility/Tao/Platform/Windows/SimpleOpenGlControl.resources
|
||||
Source/Examples/ExampleBrowser.resources
|
||||
Source/Examples/OpenAL/1.1/Parrot.resources
|
||||
Source/Examples/OpenTK/Fonts/FontRenderingBasic.resources
|
||||
Source/Examples/OpenTK/GLControl/DerivedGLControl.resources
|
||||
Source/Examples/OpenTK/GLControl/GLControlGameLoop.resources
|
||||
Source/Examples/OpenTK/GLControl/GLControlSimple.resources
|
||||
Source/Examples/OpenTK/GLControl/MultipleGLControls.resources
|
||||
Source/Examples/OpenTK/Test/Extensions.resources
|
||||
Source/Examples/OpenTK/Test/InputLogger.resources
|
||||
Source/Examples/Properties/Resources.resources
|
||||
Source/OpenTK/Properties/Resources.resources
|
||||
|
||||
|
||||
# Build Folders (you can keep bin if you'd like, to store dlls and pdbs)
|
||||
[Bb]in/
|
||||
[Oo]bj/
|
||||
|
||||
# mstest test results
|
||||
TestResults
|
||||
|
||||
## Ignore Visual Studio temporary files, build results, and
|
||||
## files generated by popular Visual Studio add-ons.
|
||||
|
||||
# Mac folder attribute metadata file
|
||||
.DS_Store
|
||||
|
||||
# User-specific files
|
||||
*.suo
|
||||
*.user
|
||||
*.sln.docstates
|
||||
|
||||
# Xamarin Studio / monodevelop user-specific
|
||||
*.userprefs
|
||||
*.dll.mdb
|
||||
*.exe.mdb
|
||||
|
||||
# Build results
|
||||
|
||||
[Dd]ebug/
|
||||
[Rr]elease/
|
||||
Binaries/
|
||||
x64/
|
||||
build/
|
||||
[Bb]in/
|
||||
[Oo]bj/
|
||||
|
||||
# MSTest test Results
|
||||
[Tt]est[Rr]esult*/
|
||||
[Bb]uild[Ll]og.*
|
||||
|
||||
*_i.c
|
||||
*_p.c
|
||||
*.ilk
|
||||
|
@ -66,11 +39,14 @@ Binaries/
|
|||
*.tli
|
||||
*.tlh
|
||||
*.tmp
|
||||
*.tmp_proj
|
||||
*.log
|
||||
*.vspscc
|
||||
*.vssscc
|
||||
.builds
|
||||
*.pidb
|
||||
*.log
|
||||
*.scc
|
||||
|
||||
# Visual C++ cache files
|
||||
ipch/
|
||||
|
@ -78,27 +54,35 @@ ipch/
|
|||
*.ncb
|
||||
*.opensdf
|
||||
*.sdf
|
||||
*.cachefile
|
||||
|
||||
# Visual Studio profiler
|
||||
*.psess
|
||||
*.vsp
|
||||
*.vspx
|
||||
|
||||
# Other Visual Studio data
|
||||
.vs/
|
||||
|
||||
# Guidance Automation Toolkit
|
||||
*.gpState
|
||||
|
||||
# ReSharper is a .NET coding add-in
|
||||
_ReSharper*
|
||||
_ReSharper*/
|
||||
*.[Rr]e[Ss]harper
|
||||
|
||||
# Mindbench SASS cache
|
||||
.sass-cache/
|
||||
# TeamCity is a build add-in
|
||||
_TeamCity*
|
||||
|
||||
# DotCover is a Code Coverage Tool
|
||||
*.dotCover
|
||||
|
||||
# NCrunch
|
||||
*.ncrunch*
|
||||
.*crunch*.local.xml
|
||||
|
||||
# Installshield output folder
|
||||
[Ee]xpress
|
||||
# Installshield output folder
|
||||
[Ee]xpress/
|
||||
|
||||
# DocProject is a documentation generator add-in
|
||||
DocProject/buildhelp/
|
||||
|
@ -111,13 +95,13 @@ DocProject/Help/Html2
|
|||
DocProject/Help/html
|
||||
|
||||
# Click-Once directory
|
||||
publish
|
||||
publish/
|
||||
|
||||
# Publish Web Output
|
||||
*.Publish.xml
|
||||
|
||||
# NuGet Packages Directory
|
||||
packages
|
||||
# Enable nuget.exe in the .nuget folder (though normally executables are not tracked)
|
||||
!.nuget/NuGet.exe
|
||||
|
||||
# Windows Azure Build Output
|
||||
csx
|
||||
|
@ -127,22 +111,79 @@ csx
|
|||
AppPackages/
|
||||
|
||||
# Others
|
||||
sql
|
||||
TestResults
|
||||
[Tt]est[Rr]esult*
|
||||
sql/
|
||||
*.Cache
|
||||
ClientBin
|
||||
ClientBin/
|
||||
[Ss]tyle[Cc]op.*
|
||||
~$*
|
||||
*~
|
||||
*.dbmdl
|
||||
Generated_Code #added for RIA/Silverlight projects
|
||||
*.[Pp]ublish.xml
|
||||
*.pfx
|
||||
*.publishsettings
|
||||
|
||||
# RIA/Silverlight projects
|
||||
Generated_Code/
|
||||
|
||||
# Backup & report files from converting an old project file to a newer
|
||||
# Visual Studio version. Backup files are not needed, because we have git ;-)
|
||||
_UpgradeReport_Files/
|
||||
Backup*/
|
||||
UpgradeLog*.XML
|
||||
UpgradeLog*.htm
|
||||
|
||||
# SQL Server files
|
||||
App_Data/*.mdf
|
||||
App_Data/*.ldf
|
||||
|
||||
|
||||
#LightSwitch generated files
|
||||
GeneratedArtifacts/
|
||||
_Pvt_Extensions/
|
||||
ModelManifest.xml
|
||||
|
||||
# =========================
|
||||
# Windows detritus
|
||||
# =========================
|
||||
|
||||
# Windows image file caches
|
||||
Thumbs.db
|
||||
ehthumbs.db
|
||||
|
||||
# Folder config file
|
||||
Desktop.ini
|
||||
|
||||
# Recycle Bin used on file shares
|
||||
$RECYCLE.BIN/
|
||||
|
||||
# Mac desktop service store files
|
||||
.DS_Store
|
||||
|
||||
# ===================================================
|
||||
# Exclude F# project specific directories and files
|
||||
# ===================================================
|
||||
|
||||
# NuGet Packages Directory
|
||||
packages/
|
||||
|
||||
# Generated documentation folder
|
||||
docs/output/
|
||||
|
||||
# Temp folder used for publishing docs
|
||||
temp/
|
||||
|
||||
# Test results produced by build
|
||||
TestResults.xml
|
||||
|
||||
# Nuget outputs
|
||||
nuget/*.nupkg
|
||||
release.cmd
|
||||
release.sh
|
||||
localpackages/
|
||||
paket-files
|
||||
*.orig
|
||||
.paket/paket.exe
|
||||
docs/content/license.md
|
||||
docs/content/release-notes.md
|
||||
.fake
|
||||
docs/tools/FSharp.Formatting.svclog
|
||||
|
|
BIN
.paket/paket.bootstrapper.exe
Normal file
BIN
.paket/paket.bootstrapper.exe
Normal file
Binary file not shown.
41
.paket/paket.targets
Normal file
41
.paket/paket.targets
Normal file
|
@ -0,0 +1,41 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<!-- Enable the restore command to run before builds -->
|
||||
<RestorePackages Condition=" '$(RestorePackages)' == '' ">true</RestorePackages>
|
||||
<!-- Download Paket.exe if it does not already exist -->
|
||||
<DownloadPaket Condition=" '$(DownloadPaket)' == '' ">true</DownloadPaket>
|
||||
<PaketToolsPath>$(MSBuildThisFileDirectory)</PaketToolsPath>
|
||||
<PaketRootPath>$(MSBuildThisFileDirectory)..\</PaketRootPath>
|
||||
<MonoPath Condition="'$(MonoPath)' == '' And Exists('/Library/Frameworks/Mono.framework/Commands/mono')">/Library/Frameworks/Mono.framework/Commands/mono</MonoPath>
|
||||
<MonoPath Condition="'$(MonoPath)' == ''">mono</MonoPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<!-- Paket command -->
|
||||
<PaketExePath Condition=" '$(PaketExePath)' == '' ">$(PaketToolsPath)paket.exe</PaketExePath>
|
||||
<PaketBootStrapperExePath Condition=" '$(PaketBootStrapperExePath)' == '' ">$(PaketToolsPath)paket.bootstrapper.exe</PaketBootStrapperExePath>
|
||||
<PaketCommand Condition=" '$(OS)' == 'Windows_NT'">"$(PaketExePath)"</PaketCommand>
|
||||
<PaketCommand Condition=" '$(OS)' != 'Windows_NT' ">$(MonoPath) --runtime=v4.0.30319 "$(PaketExePath)"</PaketCommand>
|
||||
<PaketBootStrapperCommand Condition=" '$(OS)' == 'Windows_NT'">"$(PaketBootStrapperExePath)" $(PaketBootStrapperCommandArgs)</PaketBootStrapperCommand>
|
||||
<PaketBootStrapperCommand Condition=" '$(OS)' != 'Windows_NT' ">$(MonoPath) --runtime=v4.0.30319 $(PaketBootStrapperExePath) $(PaketBootStrapperCommandArgs)</PaketBootStrapperCommand>
|
||||
<!-- Commands -->
|
||||
<PaketReferences Condition="!Exists('$(MSBuildProjectFullPath).paket.references')">$(MSBuildProjectDirectory)\paket.references</PaketReferences>
|
||||
<PaketReferences Condition="!Exists('$(PaketReferences)')">$(MSBuildStartupDirectory)\paket.references</PaketReferences>
|
||||
<PaketReferences Condition="Exists('$(MSBuildProjectFullPath).paket.references')">$(MSBuildProjectFullPath).paket.references</PaketReferences>
|
||||
<RestoreCommand>$(PaketCommand) restore --references-files "$(PaketReferences)"</RestoreCommand>
|
||||
<DownloadPaketCommand>$(PaketBootStrapperCommand)</DownloadPaketCommand>
|
||||
<!-- We need to ensure packages are restored prior to assembly resolve -->
|
||||
<BuildDependsOn Condition="$(RestorePackages) == 'true'">RestorePackages; $(BuildDependsOn);</BuildDependsOn>
|
||||
</PropertyGroup>
|
||||
<Target Name="CheckPrerequisites">
|
||||
<!-- Raise an error if we're unable to locate paket.exe -->
|
||||
<Error Condition="'$(DownloadPaket)' != 'true' AND !Exists('$(PaketExePath)')" Text="Unable to locate '$(PaketExePath)'" />
|
||||
<MsBuild Targets="DownloadPaket" Projects="$(MSBuildThisFileFullPath)" Properties="Configuration=NOT_IMPORTANT;DownloadPaket=$(DownloadPaket)" />
|
||||
</Target>
|
||||
<Target Name="DownloadPaket">
|
||||
<Exec Command="$(DownloadPaketCommand)" IgnoreStandardErrorWarningFormat="true" Condition=" '$(DownloadPaket)' == 'true' AND !Exists('$(PaketExePath)')" />
|
||||
</Target>
|
||||
<Target Name="RestorePackages" DependsOnTargets="CheckPrerequisites">
|
||||
<Exec Command="$(RestoreCommand)" IgnoreStandardErrorWarningFormat="true" WorkingDirectory="$(PaketRootPath)" Condition="Exists('$(PaketReferences)')" ContinueOnError="true" />
|
||||
</Target>
|
||||
</Project>
|
13
.travis.yml
13
.travis.yml
|
@ -1,10 +1,9 @@
|
|||
language: csharp
|
||||
solution: OpenTK.sln
|
||||
|
||||
mono:
|
||||
- latest
|
||||
- 3.10.0
|
||||
- 3.8.0
|
||||
sudo: false # use the new container-based Travis infrastructure
|
||||
|
||||
script:
|
||||
- xbuild /p:Configuration=Release OpenTK.sln
|
||||
before_install:
|
||||
- chmod +x build.sh
|
||||
|
||||
script:
|
||||
- ./build.sh NuGet
|
||||
|
|
13
OpenTK.sln
13
OpenTK.sln
|
@ -25,6 +25,19 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenTK.Tests", "tests\OpenT
|
|||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test.API.Desktop", "tests\Test.API.Desktop\Test.API.Desktop.csproj", "{C4DDD20F-CB4E-43F4-A75C-4A3D668E1F99}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".paket", ".paket", "{F1A57014-71CE-4032-A652-01B7E35E14DB}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
paket.dependencies = paket.dependencies
|
||||
paket.lock = paket.lock
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "project", "project", "{5EEEC96B-BD2F-45B0-935D-19E9E6D7D969}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
build.fsx = build.fsx
|
||||
README.md = README.md
|
||||
RELEASE_NOTES.md = RELEASE_NOTES.md
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
|
|
12
README.md
12
README.md
|
@ -28,26 +28,20 @@ OpenTK is available for Windows, Linux, Mac OS X, *BSD, SteamOS, Android and iOS
|
|||
Instructions
|
||||
============
|
||||
|
||||
The simplest way to use OpenTK in your project is to install the [NuGet package](http://www.nuget.org/packages/OpenTK/).
|
||||
The simplest way to use OpenTK in your project is to install the [NuGet package](http://www.nuget.org/packages/OpenTK/).
|
||||
|
||||
Note what installing NuGet package will add reference to OpenTK.dll, but OpenTK.dll.config
|
||||
will not be copied to the project output directory automatically, so you need to add it to your project
|
||||
and then enable the "Copy to Output Directory" option (as in step 3 below).
|
||||
|
||||
Alternatively, download the [OpenTK binaries](http://www.opentk.com) and:
|
||||
|
||||
1. Copy OpenTK.dll and OpenTK.dll.config to your project directory
|
||||
2. Use "Add reference" to add OpenTK.dll as a project reference
|
||||
3. Use "Add files" to add OpenTK.dll.config to your project, and enable the "Copy to Output Directory" option.
|
||||
|
||||
To build OpenTK from source, simply double-click OpenTK.sln and build through your IDE.
|
||||
|
||||
Alternatively, open a command prompt and type:
|
||||
```
|
||||
git clone https://github.com/opentk/opentk # Download source code from git
|
||||
cd opentk # Enter the source directory
|
||||
msbuild /p:Configuration=Release OpenTK.sln # Build on .Net (Windows)
|
||||
xbuild /p:Configuration=Release OpenTK.sln # Build on Mono (Linux / Mac OS X)
|
||||
./build.cmd # Build on .Net (Windows)
|
||||
./build.sh # Build on Mono (Linux / Mac OS X)
|
||||
```
|
||||
|
||||
|
||||
|
|
4
RELEASE_NOTES.md
Normal file
4
RELEASE_NOTES.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
### 2.0.0 - alpha
|
||||
* Moved to new FAKE/Paket based build system
|
||||
* Removed superfluous release configurations
|
||||
* Numerous other fixes and enhancements
|
8
appveyor.yml
Normal file
8
appveyor.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
init:
|
||||
- git config --global core.autocrlf input
|
||||
build_script:
|
||||
- cmd: build.cmd NuGet
|
||||
test: off
|
||||
version: 0.0.1.{build}
|
||||
artifacts:
|
||||
- path: 'bin\*.nupkg'
|
18
build.cmd
Normal file
18
build.cmd
Normal file
|
@ -0,0 +1,18 @@
|
|||
@echo off
|
||||
cls
|
||||
|
||||
.paket\paket.bootstrapper.exe
|
||||
if errorlevel 1 (
|
||||
exit /b %errorlevel%
|
||||
)
|
||||
|
||||
.paket\paket.exe restore
|
||||
if errorlevel 1 (
|
||||
exit /b %errorlevel%
|
||||
)
|
||||
|
||||
IF NOT EXIST build.fsx (
|
||||
.paket\paket.exe update
|
||||
packages\FAKE\tools\FAKE.exe init.fsx
|
||||
)
|
||||
packages\FAKE\tools\FAKE.exe build.fsx %*
|
199
build.fsx
Normal file
199
build.fsx
Normal file
|
@ -0,0 +1,199 @@
|
|||
// --------------------------------------------------------------------------------------
|
||||
// FAKE build script
|
||||
// --------------------------------------------------------------------------------------
|
||||
|
||||
#r @"packages/FAKE/tools/FakeLib.dll"
|
||||
open Fake
|
||||
open Fake.Git
|
||||
open Fake.AssemblyInfoFile
|
||||
open Fake.ReleaseNotesHelper
|
||||
open Fake.UserInputHelper
|
||||
open Fake.Testing
|
||||
open System
|
||||
open System.IO
|
||||
|
||||
// --------------------------------------------------------------------------------------
|
||||
// START TODO: Provide project-specific details below
|
||||
// --------------------------------------------------------------------------------------
|
||||
|
||||
// Information about the project are used
|
||||
// - for version and project name in generated AssemblyInfo file
|
||||
// - by the generated NuGet package
|
||||
// - to run tests and to publish documentation on GitHub gh-pages
|
||||
// - for documentation, you also need to edit info in "docs/tools/generate.fsx"
|
||||
|
||||
// The name of the project
|
||||
// (used by attributes in AssemblyInfo, name of a NuGet package and directory in 'src')
|
||||
let project = "OpenTK"
|
||||
|
||||
// Short summary of the project
|
||||
// (used as description in AssemblyInfo and as a short summary for NuGet package)
|
||||
let summary = "A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL."
|
||||
|
||||
// Longer description of the project
|
||||
// (used as a description for NuGet package; line breaks are automatically cleaned up)
|
||||
let description = "The Open Toolkit is set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL. It runs on all major platforms and powers hundreds of apps, games and scientific research."
|
||||
|
||||
// List of author names (for NuGet package)
|
||||
let authors = [ "Stefanos Apostolopoulos" ]
|
||||
|
||||
// Tags for your project (for NuGet package)
|
||||
let tags = "OpenTK OpenGL OpenGLES GLES OpenAL C# F# VB .NET Mono Vector Math Game Graphics Sound"
|
||||
|
||||
let copyright = "Copyright (c) 2006 - 2016 Stefanos Apostolopoulos <stapostol@gmail.com> for the Open Toolkit library."
|
||||
|
||||
// File system information
|
||||
let solutionFile = "OpenTK.sln"
|
||||
|
||||
// Pattern specifying assemblies to be tested using NUnit
|
||||
let testAssemblies = "tests/**/bin/Release/*Tests*.dll"
|
||||
|
||||
// Git configuration (used for publishing documentation in gh-pages branch)
|
||||
// The profile where the project is posted
|
||||
let gitOwner = "opentk"
|
||||
let gitHome = "https://github.com/" + gitOwner
|
||||
|
||||
// The name of the project on GitHub
|
||||
let gitName = "opentk"
|
||||
|
||||
// The url for the raw files hosted
|
||||
let gitRaw = environVarOrDefault "gitRaw" "https://raw.github.com/opentk"
|
||||
|
||||
// --------------------------------------------------------------------------------------
|
||||
// END TODO: The rest of the file includes standard build steps
|
||||
// --------------------------------------------------------------------------------------
|
||||
|
||||
// Read additional information from the release notes document
|
||||
let release = LoadReleaseNotes "RELEASE_NOTES.md"
|
||||
|
||||
let isXamarinPlatform = false //EnvironmentHelper.isMacOS || Environment.OSVersion.Platform = PlatformID.Win32NT
|
||||
|
||||
|
||||
// Helper active pattern for project types
|
||||
let (|Fsproj|Csproj|Vbproj|) (projFileName:string) =
|
||||
match projFileName with
|
||||
| f when f.EndsWith "fsproj" -> Fsproj
|
||||
| f when f.EndsWith "csproj" -> Csproj
|
||||
| f when f.EndsWith "vbproj" -> Vbproj
|
||||
| _ -> failwith (sprintf "Project file %s not supported. Unknown project type." projFileName)
|
||||
|
||||
|
||||
let activeProjects =
|
||||
let xamarinFilter f =
|
||||
if isXamarinPlatform then
|
||||
f
|
||||
else
|
||||
f
|
||||
-- "**/OpenTK.Android.csproj"
|
||||
-- "**/OpenTK.iOS.csproj"
|
||||
|
||||
!! "src/**/*.??proj"
|
||||
-- "**/OpenTK.GLWidget.csproj"
|
||||
|> xamarinFilter
|
||||
|
||||
// Generate assembly info files with the right version & up-to-date information
|
||||
Target "AssemblyInfo" (fun _ ->
|
||||
let getAssemblyInfoAttributes projectName =
|
||||
[ Attribute.Title (projectName)
|
||||
Attribute.Product project
|
||||
Attribute.Description summary
|
||||
Attribute.Version release.AssemblyVersion
|
||||
Attribute.FileVersion release.AssemblyVersion
|
||||
Attribute.CLSCompliant true
|
||||
Attribute.Copyright copyright ]
|
||||
|
||||
let getProjectDetails projectPath =
|
||||
let projectName = System.IO.Path.GetFileNameWithoutExtension(projectPath)
|
||||
( projectPath,
|
||||
projectName,
|
||||
System.IO.Path.GetDirectoryName(projectPath),
|
||||
(getAssemblyInfoAttributes projectName)
|
||||
)
|
||||
|
||||
!! "src/**/*.??proj"
|
||||
|> Seq.map getProjectDetails
|
||||
|> Seq.iter (fun (projFileName, projectName, folderName, attributes) ->
|
||||
match projFileName with
|
||||
| Fsproj -> CreateFSharpAssemblyInfo (folderName @@ "AssemblyInfo.fs") attributes
|
||||
| Csproj -> CreateCSharpAssemblyInfo ((folderName @@ "Properties") @@ "AssemblyInfo.cs") attributes
|
||||
| Vbproj -> CreateVisualBasicAssemblyInfo ((folderName @@ "My Project") @@ "AssemblyInfo.vb") attributes
|
||||
)
|
||||
)
|
||||
|
||||
// Copies binaries from default VS location to expected bin folder
|
||||
// But keeps a subdirectory structure for each project in the
|
||||
// src folder to support multiple project outputs
|
||||
Target "CopyBinaries" (fun _ ->
|
||||
activeProjects
|
||||
|> Seq.map (fun f -> ((System.IO.Path.GetDirectoryName f) @@ "bin/Release", "bin" @@ (System.IO.Path.GetFileNameWithoutExtension f)))
|
||||
|> Seq.iter (fun (fromDir, toDir) -> CopyDir toDir fromDir (fun _ -> true))
|
||||
)
|
||||
|
||||
// --------------------------------------------------------------------------------------
|
||||
// Clean build results
|
||||
|
||||
Target "Clean" (fun _ ->
|
||||
CleanDirs ["bin"; "temp"]
|
||||
)
|
||||
|
||||
// --------------------------------------------------------------------------------------
|
||||
// Build library & test project
|
||||
|
||||
Target "Build" (fun _ ->
|
||||
activeProjects
|
||||
|> MSBuildRelease "" "Rebuild"
|
||||
|> ignore
|
||||
)
|
||||
|
||||
// --------------------------------------------------------------------------------------
|
||||
// Run the unit tests using test runner
|
||||
|
||||
Target "RunTests" (fun _ ->
|
||||
!! testAssemblies
|
||||
|> xUnit2 (fun p ->
|
||||
{ p with
|
||||
ShadowCopy = true
|
||||
TimeOut = TimeSpan.FromMinutes 2.
|
||||
XmlOutputPath = Some "TestResults.xml" })
|
||||
)
|
||||
|
||||
// --------------------------------------------------------------------------------------
|
||||
// Build a NuGet package
|
||||
|
||||
Target "NuGet" (fun _ ->
|
||||
let xamExcludes =
|
||||
if isXamarinPlatform then
|
||||
[]
|
||||
else
|
||||
[ "OpenTK.Android"
|
||||
"OpenTK.iOS" ]
|
||||
|
||||
|
||||
Paket.Pack(fun p ->
|
||||
{ p with
|
||||
OutputPath = "bin"
|
||||
ExcludedTemplates = "OpenTK.GLWidget" :: xamExcludes
|
||||
Version = release.NugetVersion
|
||||
ReleaseNotes = toLines release.Notes})
|
||||
)
|
||||
|
||||
|
||||
Target "BuildPackage" DoNothing
|
||||
|
||||
// --------------------------------------------------------------------------------------
|
||||
// Run all targets by default. Invoke 'build <Target>' to override
|
||||
|
||||
Target "All" DoNothing
|
||||
|
||||
"Clean"
|
||||
==> "AssemblyInfo"
|
||||
==> "Build"
|
||||
==> "CopyBinaries"
|
||||
// ==> "RunTests"
|
||||
==> "All"
|
||||
|
||||
"All"
|
||||
==> "NuGet"
|
||||
|
||||
|
||||
RunTargetOrDefault "All"
|
37
build.sh
Executable file
37
build.sh
Executable file
|
@ -0,0 +1,37 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
cd `dirname $0`
|
||||
|
||||
FSIARGS=""
|
||||
OS=${OS:-"unknown"}
|
||||
if [[ "$OS" != "Windows_NT" ]]
|
||||
then
|
||||
FSIARGS="--fsiargs -d:MONO"
|
||||
fi
|
||||
|
||||
function run() {
|
||||
if [[ "$OS" != "Windows_NT" ]]
|
||||
then
|
||||
mono "$@"
|
||||
else
|
||||
"$@"
|
||||
fi
|
||||
}
|
||||
|
||||
run .paket/paket.bootstrapper.exe
|
||||
|
||||
if [[ "$OS" != "Windows_NT" ]] &&
|
||||
[ ! -e ~/.config/.mono/certs ]
|
||||
then
|
||||
mozroots --import --sync --quiet
|
||||
fi
|
||||
|
||||
run .paket/paket.exe restore
|
||||
|
||||
[ ! -e build.fsx ] && run .paket/paket.exe update
|
||||
[ ! -e build.fsx ] && run packages/FAKE/tools/FAKE.exe init.fsx
|
||||
run packages/FAKE/tools/FAKE.exe "$@" $FSIARGS build.fsx
|
||||
|
11
paket.dependencies
Normal file
11
paket.dependencies
Normal file
|
@ -0,0 +1,11 @@
|
|||
source https://nuget.org/api/v2
|
||||
|
||||
#Open packages
|
||||
|
||||
nuget FSharp.Formatting
|
||||
nuget FsCheck.Xunit
|
||||
nuget xunit.runner.console
|
||||
nuget xunit.assert
|
||||
nuget FAKE
|
||||
nuget Mono.Cecil
|
||||
nuget GtkSharp
|
165
paket.lock
Normal file
165
paket.lock
Normal file
|
@ -0,0 +1,165 @@
|
|||
NUGET
|
||||
remote: https://www.nuget.org/api/v2
|
||||
FAKE (4.28)
|
||||
FsCheck (2.4)
|
||||
FSharp.Core (>= 3.1.2.5)
|
||||
FsCheck.Xunit (2.4)
|
||||
FsCheck (>= 2.4)
|
||||
xunit.extensibility.execution (>= 2.1 < 3.0)
|
||||
FSharp.Compiler.Service (2.0.0.6)
|
||||
FSharp.Core (4.0.0.1)
|
||||
FSharp.Formatting (2.14.4)
|
||||
FSharp.Compiler.Service (2.0.0.6)
|
||||
FSharpVSPowerTools.Core (>= 2.3 < 2.4)
|
||||
FSharpVSPowerTools.Core (2.3)
|
||||
FSharp.Compiler.Service (>= 2.0.0.3)
|
||||
GtkSharp (3.1.3)
|
||||
Mono.Cecil (0.9.6.1)
|
||||
System.Collections (4.0.10) - framework: dnxcore50
|
||||
System.Diagnostics.Debug (>= 4.0) - framework: dnxcore50
|
||||
System.Resources.ResourceManager (>= 4.0) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0.20) - framework: dnxcore50
|
||||
System.Runtime.Extensions (>= 4.0) - framework: dnxcore50
|
||||
System.Threading (>= 4.0) - framework: dnxcore50
|
||||
System.Diagnostics.Contracts (4.0) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0) - framework: dnxcore50
|
||||
System.Diagnostics.Debug (4.0.10) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0) - framework: dnxcore50
|
||||
System.Globalization (4.0.10) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0) - framework: dnxcore50
|
||||
System.IO (4.0.10) - framework: dnxcore50
|
||||
System.Globalization (>= 4.0) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0.20) - framework: dnxcore50
|
||||
System.Text.Encoding (>= 4.0) - framework: dnxcore50
|
||||
System.Text.Encoding (>= 4.0.10) - framework: dnxcore50
|
||||
System.Text.Encoding.Extensions (>= 4.0) - framework: dnxcore50
|
||||
System.Threading (>= 4.0) - framework: dnxcore50
|
||||
System.Threading.Tasks (>= 4.0) - framework: dnxcore50
|
||||
System.Linq (4.0) - framework: dnxcore50
|
||||
System.Collections (>= 4.0.10) - framework: dnxcore50
|
||||
System.Diagnostics.Debug (>= 4.0.10) - framework: dnxcore50
|
||||
System.Resources.ResourceManager (>= 4.0) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0.20) - framework: dnxcore50
|
||||
System.Runtime.Extensions (>= 4.0.10) - framework: dnxcore50
|
||||
System.Linq.Expressions (4.0.10) - framework: dnxcore50
|
||||
System.Collections (>= 4.0) - framework: dnxcore50
|
||||
System.Diagnostics.Debug (>= 4.0) - framework: dnxcore50
|
||||
System.Globalization (>= 4.0) - framework: dnxcore50
|
||||
System.IO (>= 4.0) - framework: dnxcore50
|
||||
System.Linq (>= 4.0) - framework: dnxcore50
|
||||
System.ObjectModel (>= 4.0) - framework: dnxcore50
|
||||
System.Reflection (>= 4.0) - framework: dnxcore50
|
||||
System.Reflection.Emit (>= 4.0) - framework: dnxcore50
|
||||
System.Reflection.Extensions (>= 4.0) - framework: dnxcore50
|
||||
System.Reflection.Primitives (>= 4.0) - framework: dnxcore50
|
||||
System.Reflection.TypeExtensions (>= 4.0) - framework: dnxcore50
|
||||
System.Resources.ResourceManager (>= 4.0) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0.20) - framework: dnxcore50
|
||||
System.Runtime.Extensions (>= 4.0) - framework: dnxcore50
|
||||
System.Threading (>= 4.0) - framework: dnxcore50
|
||||
System.ObjectModel (4.0.10) - framework: dnxcore50
|
||||
System.Collections (>= 4.0.10) - framework: dnxcore50
|
||||
System.Diagnostics.Debug (>= 4.0.10) - framework: dnxcore50
|
||||
System.Resources.ResourceManager (>= 4.0) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0.20) - framework: dnxcore50
|
||||
System.Threading (>= 4.0.10) - framework: dnxcore50
|
||||
System.Private.Uri (4.0) - framework: dnxcore50
|
||||
System.Reflection (4.0.10) - framework: dnxcore50
|
||||
System.IO (>= 4.0) - framework: dnxcore50
|
||||
System.Reflection.Primitives (>= 4.0) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0.20) - framework: dnxcore50
|
||||
System.Reflection.Emit (4.0) - framework: dnxcore50
|
||||
System.IO (>= 4.0) - framework: dnxcore50
|
||||
System.Reflection (>= 4.0) - framework: dnxcore50
|
||||
System.Reflection.Emit.ILGeneration (>= 4.0) - framework: dnxcore50
|
||||
System.Reflection.Primitives (>= 4.0) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0) - framework: dnxcore50
|
||||
System.Reflection.Emit.ILGeneration (4.0) - framework: dnxcore50
|
||||
System.Reflection (>= 4.0) - framework: dnxcore50
|
||||
System.Reflection.Primitives (>= 4.0) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0) - framework: dnxcore50
|
||||
System.Reflection.Extensions (4.0) - framework: dnxcore50
|
||||
System.Diagnostics.Debug (>= 4.0.10) - framework: dnxcore50
|
||||
System.Reflection (>= 4.0) - framework: dnxcore50
|
||||
System.Reflection (>= 4.0.10) - framework: dnxcore50
|
||||
System.Reflection.Primitives (>= 4.0) - framework: dnxcore50
|
||||
System.Reflection.TypeExtensions (>= 4.0) - framework: dnxcore50
|
||||
System.Resources.ResourceManager (>= 4.0) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0.20) - framework: dnxcore50
|
||||
System.Runtime.Extensions (>= 4.0.10) - framework: dnxcore50
|
||||
System.Reflection.Primitives (4.0) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0) - framework: dnxcore50
|
||||
System.Threading (>= 4.0) - framework: dnxcore50
|
||||
System.Reflection.TypeExtensions (4.0) - framework: dnxcore50
|
||||
System.Diagnostics.Contracts (>= 4.0) - framework: dnxcore50
|
||||
System.Diagnostics.Debug (>= 4.0.10) - framework: dnxcore50
|
||||
System.Linq (>= 4.0) - framework: dnxcore50
|
||||
System.Reflection (>= 4.0) - framework: dnxcore50
|
||||
System.Reflection (>= 4.0.10) - framework: dnxcore50
|
||||
System.Reflection.Primitives (>= 4.0) - framework: dnxcore50
|
||||
System.Resources.ResourceManager (>= 4.0) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0.20) - framework: dnxcore50
|
||||
System.Runtime.Extensions (>= 4.0.10) - framework: dnxcore50
|
||||
System.Resources.ResourceManager (4.0) - framework: dnxcore50
|
||||
System.Globalization (>= 4.0) - framework: dnxcore50
|
||||
System.Reflection (>= 4.0) - framework: dnxcore50
|
||||
System.Reflection (>= 4.0.10) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0.20) - framework: dnxcore50
|
||||
System.Runtime (4.0.20) - framework: dnxcore50
|
||||
System.Private.Uri (>= 4.0) - framework: dnxcore50
|
||||
System.Runtime.Extensions (4.0.10) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0.20) - framework: dnxcore50
|
||||
System.Text.Encoding (4.0.10) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0) - framework: dnxcore50
|
||||
System.Text.Encoding.Extensions (4.0.10) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0) - framework: dnxcore50
|
||||
System.Text.Encoding (>= 4.0.10) - framework: dnxcore50
|
||||
System.Text.RegularExpressions (4.0.10) - framework: dnxcore50
|
||||
System.Collections (>= 4.0.10) - framework: dnxcore50
|
||||
System.Globalization (>= 4.0.10) - framework: dnxcore50
|
||||
System.Resources.ResourceManager (>= 4.0) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0.20) - framework: dnxcore50
|
||||
System.Runtime.Extensions (>= 4.0.10) - framework: dnxcore50
|
||||
System.Threading (>= 4.0.10) - framework: dnxcore50
|
||||
System.Threading (4.0.10) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0) - framework: dnxcore50
|
||||
System.Threading.Tasks (>= 4.0) - framework: dnxcore50
|
||||
System.Threading.Tasks (4.0.10) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0) - framework: dnxcore50
|
||||
xunit.abstractions (2.0) - framework: >= net45, dnx451, dnxcore50, monoandroid, monotouch, xamarinios, winv4.5, wpv8.0, wpav8.1
|
||||
xunit.assert (2.1)
|
||||
System.Collections (>= 4.0) - framework: dnxcore50
|
||||
System.Diagnostics.Debug (>= 4.0) - framework: dnxcore50
|
||||
System.Globalization (>= 4.0) - framework: dnxcore50
|
||||
System.Linq (>= 4.0) - framework: dnxcore50
|
||||
System.ObjectModel (>= 4.0) - framework: dnxcore50
|
||||
System.Reflection (>= 4.0) - framework: dnxcore50
|
||||
System.Reflection.Extensions (>= 4.0) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0) - framework: dnxcore50
|
||||
System.Runtime.Extensions (>= 4.0) - framework: dnxcore50
|
||||
System.Text.RegularExpressions (>= 4.0) - framework: dnxcore50
|
||||
System.Threading.Tasks (>= 4.0) - framework: dnxcore50
|
||||
xunit.extensibility.core (2.1) - framework: >= net45, dnx451, dnxcore50, monoandroid, monotouch, xamarinios, winv4.5, wpv8.0, wpav8.1
|
||||
xunit.abstractions (2.0)
|
||||
xunit.extensibility.execution (2.1)
|
||||
System.Collections (>= 4.0) - framework: dnxcore50
|
||||
System.Diagnostics.Debug (>= 4.0) - framework: dnxcore50
|
||||
System.Globalization (>= 4.0) - framework: dnxcore50
|
||||
System.IO (>= 4.0) - framework: dnxcore50
|
||||
System.Linq (>= 4.0) - framework: dnxcore50
|
||||
System.Linq.Expressions (>= 4.0) - framework: dnxcore50
|
||||
System.Reflection (>= 4.0) - framework: dnxcore50
|
||||
System.Reflection.Extensions (>= 4.0) - framework: dnxcore50
|
||||
System.Runtime (>= 4.0) - framework: dnxcore50
|
||||
System.Runtime.Extensions (>= 4.0) - framework: dnxcore50
|
||||
System.Text.Encoding (>= 4.0) - framework: dnxcore50
|
||||
System.Threading (>= 4.0) - framework: dnxcore50
|
||||
System.Threading.Tasks (>= 4.0) - framework: dnxcore50
|
||||
xunit.abstractions (>= 2.0) - framework: dnxcore50
|
||||
xunit.extensibility.core (2.1) - framework: >= net45, dnx451, dnxcore50, monoandroid, monotouch, xamarinios, winv4.5, wpv8.0, wpav8.1
|
||||
xunit.runner.console (2.1)
|
|
@ -151,6 +151,7 @@
|
|||
<None Include="..\..\OpenTK.snk">
|
||||
<Link>OpenTK.snk</Link>
|
||||
</None>
|
||||
<None Include="paket.references" />
|
||||
<None Include="Specifications\GL2\gl.tm" />
|
||||
<None Include="Specifications\Glx\glx.spec">
|
||||
</None>
|
||||
|
|
|
@ -1,12 +1,17 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
// <auto-generated/>
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("Generator.Bind")]
|
||||
[assembly: AssemblyDescription("Generates C# bindings for the the Open Toolkit Library")]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("0d681958-ca78-4a67-b71c-ff8755488e23")]
|
||||
[assembly: AssemblyTitleAttribute("Generator.Bind")]
|
||||
[assembly: AssemblyProductAttribute("OpenTK")]
|
||||
[assembly: AssemblyDescriptionAttribute("A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL.")]
|
||||
[assembly: AssemblyVersionAttribute("2.0.0")]
|
||||
[assembly: AssemblyFileVersionAttribute("2.0.0")]
|
||||
[assembly: CLSCompliantAttribute(true)]
|
||||
[assembly: AssemblyCopyrightAttribute("Copyright (c) 2006 - 2016 Stefanos Apostolopoulos <stapostol@gmail.com> for the Open Toolkit library.")]
|
||||
namespace System {
|
||||
internal static class AssemblyVersionInformation {
|
||||
internal const string Version = "2.0.0";
|
||||
internal const string InformationalVersion = "2.0.0";
|
||||
}
|
||||
}
|
||||
|
|
0
src/Generator.Bind/paket.references
Normal file
0
src/Generator.Bind/paket.references
Normal file
|
@ -106,6 +106,7 @@
|
|||
<None Include="..\..\OpenTK.snk">
|
||||
<Link>OpenTK.snk</Link>
|
||||
</None>
|
||||
<None Include="paket.references" />
|
||||
<None Include="XML schema notes.txt">
|
||||
</None>
|
||||
<None Include="Readme.txt">
|
||||
|
|
|
@ -1,12 +1,17 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
// <auto-generated/>
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("Generator.Convert")]
|
||||
[assembly: AssemblyDescription("Converts C headers into XML suitable for the binding generator")]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("01d453bf-8648-4441-953e-7094a0ec1364")]
|
||||
[assembly: AssemblyTitleAttribute("Generator.Convert")]
|
||||
[assembly: AssemblyProductAttribute("OpenTK")]
|
||||
[assembly: AssemblyDescriptionAttribute("A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL.")]
|
||||
[assembly: AssemblyVersionAttribute("2.0.0")]
|
||||
[assembly: AssemblyFileVersionAttribute("2.0.0")]
|
||||
[assembly: CLSCompliantAttribute(true)]
|
||||
[assembly: AssemblyCopyrightAttribute("Copyright (c) 2006 - 2016 Stefanos Apostolopoulos <stapostol@gmail.com> for the Open Toolkit library.")]
|
||||
namespace System {
|
||||
internal static class AssemblyVersionInformation {
|
||||
internal const string Version = "2.0.0";
|
||||
internal const string InformationalVersion = "2.0.0";
|
||||
}
|
||||
}
|
||||
|
|
0
src/Generator.Converter/paket.references
Normal file
0
src/Generator.Converter/paket.references
Normal file
|
@ -48,22 +48,6 @@
|
|||
<AssemblyOriginatorKeyFile>..\..\OpenTK.snk</AssemblyOriginatorKeyFile>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Mono.Cecil, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Mono.Cecil.0.9.6.1\lib\net35\Mono.Cecil.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Mono.Cecil.Mdb, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Mono.Cecil.0.9.6.1\lib\net35\Mono.Cecil.Mdb.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Mono.Cecil.Pdb, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Mono.Cecil.0.9.6.1\lib\net35\Mono.Cecil.Pdb.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Mono.Cecil.Rocks, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Mono.Cecil.0.9.6.1\lib\net35\Mono.Cecil.Rocks.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
</ItemGroup>
|
||||
|
@ -75,7 +59,7 @@
|
|||
<None Include="..\..\OpenTK.snk">
|
||||
<Link>OpenTK.snk</Link>
|
||||
</None>
|
||||
<None Include="packages.config" />
|
||||
<None Include="paket.references" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
|
@ -99,4 +83,111 @@
|
|||
</Properties>
|
||||
</MonoDevelop>
|
||||
</ProjectExtensions>
|
||||
<Choose>
|
||||
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v2.0' Or $(TargetFrameworkVersion) == 'v3.0')">
|
||||
<ItemGroup>
|
||||
<Reference Include="Mono.Cecil.Mdb">
|
||||
<HintPath>..\..\packages\Mono.Cecil\lib\net20\Mono.Cecil.Mdb.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Paket>True</Paket>
|
||||
</Reference>
|
||||
<Reference Include="Mono.Cecil.Pdb">
|
||||
<HintPath>..\..\packages\Mono.Cecil\lib\net20\Mono.Cecil.Pdb.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Paket>True</Paket>
|
||||
</Reference>
|
||||
<Reference Include="Mono.Cecil">
|
||||
<HintPath>..\..\packages\Mono.Cecil\lib\net20\Mono.Cecil.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Paket>True</Paket>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
</When>
|
||||
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v3.5'">
|
||||
<ItemGroup>
|
||||
<Reference Include="Mono.Cecil.Mdb">
|
||||
<HintPath>..\..\packages\Mono.Cecil\lib\net35\Mono.Cecil.Mdb.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Paket>True</Paket>
|
||||
</Reference>
|
||||
<Reference Include="Mono.Cecil.Pdb">
|
||||
<HintPath>..\..\packages\Mono.Cecil\lib\net35\Mono.Cecil.Pdb.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Paket>True</Paket>
|
||||
</Reference>
|
||||
<Reference Include="Mono.Cecil.Rocks">
|
||||
<HintPath>..\..\packages\Mono.Cecil\lib\net35\Mono.Cecil.Rocks.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Paket>True</Paket>
|
||||
</Reference>
|
||||
<Reference Include="Mono.Cecil">
|
||||
<HintPath>..\..\packages\Mono.Cecil\lib\net35\Mono.Cecil.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Paket>True</Paket>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
</When>
|
||||
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v4.0'">
|
||||
<ItemGroup>
|
||||
<Reference Include="Mono.Cecil.Mdb">
|
||||
<HintPath>..\..\packages\Mono.Cecil\lib\net40\Mono.Cecil.Mdb.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Paket>True</Paket>
|
||||
</Reference>
|
||||
<Reference Include="Mono.Cecil.Pdb">
|
||||
<HintPath>..\..\packages\Mono.Cecil\lib\net40\Mono.Cecil.Pdb.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Paket>True</Paket>
|
||||
</Reference>
|
||||
<Reference Include="Mono.Cecil.Rocks">
|
||||
<HintPath>..\..\packages\Mono.Cecil\lib\net40\Mono.Cecil.Rocks.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Paket>True</Paket>
|
||||
</Reference>
|
||||
<Reference Include="Mono.Cecil">
|
||||
<HintPath>..\..\packages\Mono.Cecil\lib\net40\Mono.Cecil.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Paket>True</Paket>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
</When>
|
||||
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.1' Or $(TargetFrameworkVersion) == 'v4.5.2' Or $(TargetFrameworkVersion) == 'v4.5.3' Or $(TargetFrameworkVersion) == 'v4.6' Or $(TargetFrameworkVersion) == 'v4.6.1' Or $(TargetFrameworkVersion) == 'v4.6.2' Or $(TargetFrameworkVersion) == 'v4.6.3')">
|
||||
<ItemGroup>
|
||||
<Reference Include="Mono.Cecil.Mdb">
|
||||
<HintPath>..\..\packages\Mono.Cecil\lib\net45\Mono.Cecil.Mdb.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Paket>True</Paket>
|
||||
</Reference>
|
||||
<Reference Include="Mono.Cecil.Pdb">
|
||||
<HintPath>..\..\packages\Mono.Cecil\lib\net45\Mono.Cecil.Pdb.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Paket>True</Paket>
|
||||
</Reference>
|
||||
<Reference Include="Mono.Cecil.Rocks">
|
||||
<HintPath>..\..\packages\Mono.Cecil\lib\net45\Mono.Cecil.Rocks.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Paket>True</Paket>
|
||||
</Reference>
|
||||
<Reference Include="Mono.Cecil">
|
||||
<HintPath>..\..\packages\Mono.Cecil\lib\net45\Mono.Cecil.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Paket>True</Paket>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
</When>
|
||||
<When Condition="$(TargetFrameworkIdentifier) == 'Silverlight' And $(TargetFrameworkVersion) == 'v5.0'">
|
||||
<ItemGroup>
|
||||
<Reference Include="Mono.Cecil.Rocks">
|
||||
<HintPath>..\..\packages\Mono.Cecil\lib\sl5\Mono.Cecil.Rocks.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Paket>True</Paket>
|
||||
</Reference>
|
||||
<Reference Include="Mono.Cecil">
|
||||
<HintPath>..\..\packages\Mono.Cecil\lib\sl5\Mono.Cecil.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Paket>True</Paket>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
</When>
|
||||
</Choose>
|
||||
</Project>
|
|
@ -1,36 +1,17 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
// <auto-generated/>
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("OpenTK.Rewrite")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("OpenTK.Rewrite")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2013")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("01f167a5-6aff-41be-a70a-828c124c5164")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
[assembly: AssemblyTitleAttribute("Generator.Rewrite")]
|
||||
[assembly: AssemblyProductAttribute("OpenTK")]
|
||||
[assembly: AssemblyDescriptionAttribute("A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL.")]
|
||||
[assembly: AssemblyVersionAttribute("2.0.0")]
|
||||
[assembly: AssemblyFileVersionAttribute("2.0.0")]
|
||||
[assembly: CLSCompliantAttribute(true)]
|
||||
[assembly: AssemblyCopyrightAttribute("Copyright (c) 2006 - 2016 Stefanos Apostolopoulos <stapostol@gmail.com> for the Open Toolkit library.")]
|
||||
namespace System {
|
||||
internal static class AssemblyVersionInformation {
|
||||
internal const string Version = "2.0.0";
|
||||
internal const string InformationalVersion = "2.0.0";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Mono.Cecil" version="0.9.6.1" targetFramework="net35" />
|
||||
</packages>
|
1
src/Generator.Rewrite/paket.references
Normal file
1
src/Generator.Rewrite/paket.references
Normal file
|
@ -0,0 +1 @@
|
|||
Mono.Cecil
|
|
@ -155,6 +155,8 @@
|
|||
<None Include="..\..\OpenTK.snk">
|
||||
<Link>OpenTK.snk</Link>
|
||||
</None>
|
||||
<None Include="paket.references" />
|
||||
<None Include="paket.template" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
|
|
|
@ -1,18 +1,17 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
// <auto-generated/>
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("OpenTK.GLControl")]
|
||||
[assembly: AssemblyDescription("Provides integration with System.Windows.Forms.")]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("5414b90b-d7be-4382-b0e1-f07ce154f7f7")]
|
||||
|
||||
[assembly: System.CLSCompliant(true)]
|
||||
[assembly: System.Security.AllowPartiallyTrustedCallers]
|
||||
#if NET40
|
||||
[assembly: System.Security.SecurityRules(System.Security.SecurityRuleSet.Level1)]
|
||||
#endif
|
||||
[assembly: AssemblyTitleAttribute("OpenTK.GLControl")]
|
||||
[assembly: AssemblyProductAttribute("OpenTK")]
|
||||
[assembly: AssemblyDescriptionAttribute("A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL.")]
|
||||
[assembly: AssemblyVersionAttribute("2.0.0")]
|
||||
[assembly: AssemblyFileVersionAttribute("2.0.0")]
|
||||
[assembly: CLSCompliantAttribute(true)]
|
||||
[assembly: AssemblyCopyrightAttribute("Copyright (c) 2006 - 2016 Stefanos Apostolopoulos <stapostol@gmail.com> for the Open Toolkit library.")]
|
||||
namespace System {
|
||||
internal static class AssemblyVersionInformation {
|
||||
internal const string Version = "2.0.0";
|
||||
internal const string InformationalVersion = "2.0.0";
|
||||
}
|
||||
}
|
||||
|
|
0
src/OpenTK.GLControl/paket.references
Normal file
0
src/OpenTK.GLControl/paket.references
Normal file
23
src/OpenTK.GLControl/paket.template
Normal file
23
src/OpenTK.GLControl/paket.template
Normal file
|
@ -0,0 +1,23 @@
|
|||
type project
|
||||
id OpenTK.GLControl
|
||||
owners
|
||||
opentk thefiddler
|
||||
authors
|
||||
The Open Toolkit Team
|
||||
projectUrl
|
||||
http://www.opentk.com
|
||||
iconUrl
|
||||
https://raw.githubusercontent.com/opentk/opentk/master/docs/files/img/logo.png
|
||||
licenseUrl
|
||||
http://github.com/opentk/opentk/blob/master/License.txt
|
||||
requireLicenseAcceptance
|
||||
false
|
||||
copyright
|
||||
Copyright (c) 2006 - 2016 Stefanos Apostolopoulos <stapostol@gmail.com> for the Open Toolkit library.
|
||||
tags
|
||||
OpenTK OpenGL OpenAL OpenCL C# F# VB .Net Mono Graphics Game Scientific Science 3D 2D Math Input Gamepad Joystick
|
||||
summary
|
||||
A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL.
|
||||
description
|
||||
The Open Toolkit is set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL. It runs on all major platforms and powers hundreds of apps, games and scientific research.
|
||||
OpenTK provides several utility libraries, including a math/linear algebra package, a windowing system, and input handling.
|
|
@ -39,6 +39,8 @@
|
|||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
||||
|
@ -56,6 +58,7 @@
|
|||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<DebugType>full</DebugType>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
||||
|
@ -72,6 +75,7 @@
|
|||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<DebugType>none</DebugType>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<SignAssembly>True</SignAssembly>
|
||||
|
@ -103,11 +107,39 @@
|
|||
</Compile>
|
||||
<Compile Include="GLWidget.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="paket.references" />
|
||||
<None Include="paket.template" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Choose>
|
||||
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.1' Or $(TargetFrameworkVersion) == 'v4.5.2' Or $(TargetFrameworkVersion) == 'v4.5.3' Or $(TargetFrameworkVersion) == 'v4.6' Or $(TargetFrameworkVersion) == 'v4.6.1' Or $(TargetFrameworkVersion) == 'v4.6.2' Or $(TargetFrameworkVersion) == 'v4.6.3')">
|
||||
<PropertyGroup>
|
||||
<__paket__GtkSharp_targets>net45\GtkSharp</__paket__GtkSharp_targets>
|
||||
</PropertyGroup>
|
||||
</When>
|
||||
</Choose>
|
||||
<PropertyGroup>
|
||||
<PreBuildEvent>
|
||||
</PreBuildEvent>
|
||||
<PostBuildEvent>
|
||||
</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
<Choose>
|
||||
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.1' Or $(TargetFrameworkVersion) == 'v4.5.2' Or $(TargetFrameworkVersion) == 'v4.5.3' Or $(TargetFrameworkVersion) == 'v4.6' Or $(TargetFrameworkVersion) == 'v4.6.1' Or $(TargetFrameworkVersion) == 'v4.6.2' Or $(TargetFrameworkVersion) == 'v4.6.3')">
|
||||
<ItemGroup>
|
||||
<Reference Include="cairo-sharp">
|
||||
<HintPath>..\..\packages\GtkSharp\lib\net45\cairo-sharp.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Paket>True</Paket>
|
||||
</Reference>
|
||||
<Reference Include="gio-sharp">
|
||||
<HintPath>..\..\packages\GtkSharp\lib\net45\gio-sharp.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Paket>True</Paket>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
</When>
|
||||
</Choose>
|
||||
<Import Project="..\..\packages\GtkSharp\build\$(__paket__GtkSharp_targets).targets" Condition="Exists('..\..\packages\GtkSharp\build\$(__paket__GtkSharp_targets).targets')" Label="Paket" />
|
||||
</Project>
|
|
@ -1,15 +1,17 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
// <auto-generated/>
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("OpenTK.GLWidget")]
|
||||
[assembly: AssemblyDescription("Provides integration with Gtk 2 and 3.")]
|
||||
|
||||
[assembly: System.CLSCompliant(true)]
|
||||
[assembly: System.Security.AllowPartiallyTrustedCallers]
|
||||
#if NET40
|
||||
[assembly: System.Security.SecurityRules(System.Security.SecurityRuleSet.Level1)]
|
||||
#endif
|
||||
[assembly: AssemblyTitleAttribute("OpenTK.GLWidget")]
|
||||
[assembly: AssemblyProductAttribute("OpenTK")]
|
||||
[assembly: AssemblyDescriptionAttribute("A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL.")]
|
||||
[assembly: AssemblyVersionAttribute("2.0.0")]
|
||||
[assembly: AssemblyFileVersionAttribute("2.0.0")]
|
||||
[assembly: CLSCompliantAttribute(true)]
|
||||
[assembly: AssemblyCopyrightAttribute("Copyright (c) 2006 - 2016 Stefanos Apostolopoulos <stapostol@gmail.com> for the Open Toolkit library.")]
|
||||
namespace System {
|
||||
internal static class AssemblyVersionInformation {
|
||||
internal const string Version = "2.0.0";
|
||||
internal const string InformationalVersion = "2.0.0";
|
||||
}
|
||||
}
|
||||
|
|
1
src/OpenTK.GLWidget/paket.references
Normal file
1
src/OpenTK.GLWidget/paket.references
Normal file
|
@ -0,0 +1 @@
|
|||
GtkSharp
|
23
src/OpenTK.GLWidget/paket.template
Normal file
23
src/OpenTK.GLWidget/paket.template
Normal file
|
@ -0,0 +1,23 @@
|
|||
type project
|
||||
id OpenTK.GLWidget
|
||||
owners
|
||||
opentk thefiddler
|
||||
authors
|
||||
The Open Toolkit Team
|
||||
projectUrl
|
||||
http://www.opentk.com
|
||||
iconUrl
|
||||
https://raw.githubusercontent.com/opentk/opentk/master/docs/files/img/logo.png
|
||||
licenseUrl
|
||||
http://github.com/opentk/opentk/blob/master/License.txt
|
||||
requireLicenseAcceptance
|
||||
false
|
||||
copyright
|
||||
Copyright (c) 2006 - 2016 Stefanos Apostolopoulos <stapostol@gmail.com> for the Open Toolkit library.
|
||||
tags
|
||||
OpenTK OpenGL OpenAL OpenCL C# F# VB .Net Mono Graphics Game Scientific Science 3D 2D Math Input Gamepad Joystick
|
||||
summary
|
||||
A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL.
|
||||
description
|
||||
The Open Toolkit is set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL. It runs on all major platforms and powers hundreds of apps, games and scientific research.
|
||||
OpenTK provides several utility libraries, including a math/linear algebra package, a windowing system, and input handling.
|
|
@ -47,7 +47,6 @@
|
|||
<Reference Include="Mono.Android" />
|
||||
<Reference Include="System" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<ItemGroup>
|
||||
<Compile Include="AutoGeneratedAttribute.cs" />
|
||||
<Compile Include="BindingsBase.cs" />
|
||||
|
@ -241,9 +240,11 @@
|
|||
<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.
|
||||
|
|
23
src/OpenTK/OpenTK.Android.csproj.paket.template
Normal file
23
src/OpenTK/OpenTK.Android.csproj.paket.template
Normal file
|
@ -0,0 +1,23 @@
|
|||
type project
|
||||
id OpenTK.Android
|
||||
owners
|
||||
opentk thefiddler
|
||||
authors
|
||||
The Open Toolkit Team
|
||||
projectUrl
|
||||
http://www.opentk.com
|
||||
iconUrl
|
||||
https://raw.githubusercontent.com/opentk/opentk/master/docs/files/img/logo.png
|
||||
licenseUrl
|
||||
http://github.com/opentk/opentk/blob/master/License.txt
|
||||
requireLicenseAcceptance
|
||||
false
|
||||
copyright
|
||||
Copyright (c) 2006 - 2016 Stefanos Apostolopoulos <stapostol@gmail.com> for the Open Toolkit library.
|
||||
tags
|
||||
OpenTK OpenGL OpenAL OpenCL C# F# VB .Net Mono Graphics Game Scientific Science 3D 2D Math Input Gamepad Joystick
|
||||
summary
|
||||
A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL.
|
||||
description
|
||||
The Open Toolkit is set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL. It runs on all major platforms and powers hundreds of apps, games and scientific research.
|
||||
OpenTK provides several utility libraries, including a math/linear algebra package, a windowing system, and input handling.
|
|
@ -794,6 +794,8 @@
|
|||
<Compile Include="Platform\Linux\Bindings\Evdev.cs" />
|
||||
<Compile Include="Platform\Linux\DefaultCursor.cs" />
|
||||
<Compile Include="Platform\Linux\Bindings\Kms.cs" />
|
||||
<None Include="OpenTK.csproj.paket.template" />
|
||||
<None Include="paket.references" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
|
@ -802,12 +804,11 @@
|
|||
<PostBuildEvent>
|
||||
</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
<ItemGroup />
|
||||
<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/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/OpenTK.dll $(SolutionDir)OpenTK.snk" Condition="$(OS) != 'Windows_NT' and $(Configuration) == 'Release'" />
|
||||
<Exec Command="mono $(OutputPath)../../../Generator.Rewrite/bin/Debug/Rewrite.exe $(OutputPath)OpenTK.dll ../../OpenTK.snk -debug" Condition="$(OS) != 'Windows_NT' and $(Configuration) == 'Debug'" />
|
||||
<Exec Command="mono $(OutputPath)../../../Generator.Rewrite/bin/Release/Rewrite.exe $(OutputPath)OpenTK.dll ../../OpenTK.snk" Condition="$(OS) != 'Windows_NT' and $(Configuration) == 'Release'" />
|
||||
</Target>
|
||||
<ProjectExtensions>
|
||||
<MonoDevelop>
|
||||
|
@ -823,6 +824,4 @@
|
|||
</Properties>
|
||||
</MonoDevelop>
|
||||
</ProjectExtensions>
|
||||
<ItemGroup />
|
||||
<ItemGroup />
|
||||
</Project>
|
||||
</Project>
|
||||
|
|
25
src/OpenTK/OpenTK.csproj.paket.template
Normal file
25
src/OpenTK/OpenTK.csproj.paket.template
Normal file
|
@ -0,0 +1,25 @@
|
|||
type project
|
||||
id OpenTK
|
||||
owners
|
||||
opentk thefiddler
|
||||
authors
|
||||
The Open Toolkit Team
|
||||
projectUrl
|
||||
http://www.opentk.com
|
||||
iconUrl
|
||||
https://raw.githubusercontent.com/opentk/opentk/master/docs/files/img/logo.png
|
||||
licenseUrl
|
||||
http://github.com/opentk/opentk/blob/master/License.txt
|
||||
requireLicenseAcceptance
|
||||
false
|
||||
copyright
|
||||
Copyright (c) 2006 - 2016 Stefanos Apostolopoulos <stapostol@gmail.com> for the Open Toolkit library.
|
||||
tags
|
||||
OpenTK OpenGL OpenAL OpenCL C# F# VB .Net Mono Graphics Game Scientific Science 3D 2D Math Input Gamepad Joystick
|
||||
summary
|
||||
A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL.
|
||||
description
|
||||
The Open Toolkit is set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL. It runs on all major platforms and powers hundreds of apps, games and scientific research.
|
||||
OpenTK provides several utility libraries, including a math/linear algebra package, a windowing system, and input handling.
|
||||
files
|
||||
OpenTK.dll.config => content/
|
|
@ -232,6 +232,8 @@
|
|||
<None Include="OpenTK.dll.config">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="OpenTK.iOS.csproj.paket.template" />
|
||||
<None Include="paket.references" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
|
|
23
src/OpenTK/OpenTK.iOS.csproj.paket.template
Normal file
23
src/OpenTK/OpenTK.iOS.csproj.paket.template
Normal file
|
@ -0,0 +1,23 @@
|
|||
type project
|
||||
id OpenTK.iOS
|
||||
owners
|
||||
opentk thefiddler
|
||||
authors
|
||||
The Open Toolkit Team
|
||||
projectUrl
|
||||
http://www.opentk.com
|
||||
iconUrl
|
||||
https://raw.githubusercontent.com/opentk/opentk/master/docs/files/img/logo.png
|
||||
licenseUrl
|
||||
http://github.com/opentk/opentk/blob/master/License.txt
|
||||
requireLicenseAcceptance
|
||||
false
|
||||
copyright
|
||||
Copyright (c) 2006 - 2016 Stefanos Apostolopoulos <stapostol@gmail.com> for the Open Toolkit library.
|
||||
tags
|
||||
OpenTK OpenGL OpenAL OpenCL C# F# VB .Net Mono Graphics Game Scientific Science 3D 2D Math Input Gamepad Joystick
|
||||
summary
|
||||
A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL.
|
||||
description
|
||||
The Open Toolkit is set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL. It runs on all major platforms and powers hundreds of apps, games and scientific research.
|
||||
OpenTK provides several utility libraries, including a math/linear algebra package, a windowing system, and input handling.
|
|
@ -1,19 +1,17 @@
|
|||
using System;
|
||||
// <auto-generated/>
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("OpenTK")]
|
||||
[assembly: AssemblyDescription("Open source game development toolkit for .Net/Mono.")]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("7652241e-158d-4eb1-85f4-ed40ee356791")]
|
||||
|
||||
[assembly: CLSCompliant(true)]
|
||||
[assembly: System.Security.AllowPartiallyTrustedCallers]
|
||||
#if NET40
|
||||
[assembly: System.Security.SecurityRules(System.Security.SecurityRuleSet.Level1)]
|
||||
#endif
|
||||
[assembly: AssemblyTitleAttribute("OpenTK.iOS")]
|
||||
[assembly: AssemblyProductAttribute("OpenTK")]
|
||||
[assembly: AssemblyDescriptionAttribute("A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL.")]
|
||||
[assembly: AssemblyVersionAttribute("2.0.0")]
|
||||
[assembly: AssemblyFileVersionAttribute("2.0.0")]
|
||||
[assembly: CLSCompliantAttribute(true)]
|
||||
[assembly: AssemblyCopyrightAttribute("Copyright (c) 2006 - 2016 Stefanos Apostolopoulos <stapostol@gmail.com> for the Open Toolkit library.")]
|
||||
namespace System {
|
||||
internal static class AssemblyVersionInformation {
|
||||
internal const string Version = "2.0.0";
|
||||
internal const string InformationalVersion = "2.0.0";
|
||||
}
|
||||
}
|
||||
|
|
0
src/OpenTK/paket.references
Normal file
0
src/OpenTK/paket.references
Normal file
Loading…
Reference in a new issue