mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-11 03:55:33 +00:00
DefaultOutputPath now matches OpenTK source tree
By default, generated bindings are placed in the source tree of OpenTK. This can be overriden via a commandline switch.
This commit is contained in:
parent
0548806487
commit
c83d6ad530
|
@ -15,6 +15,8 @@ namespace Bind.ES
|
|||
public ES2Generator(Settings settings, string dirName)
|
||||
: base(settings, dirName)
|
||||
{
|
||||
Settings.DefaultOutputPath = Path.Combine(
|
||||
Settings.DefaultOutputPath, "../ES20");
|
||||
Settings.DefaultOutputNamespace = "OpenTK.Graphics.ES20";
|
||||
Settings.DefaultImportsFile = "ES20Core.cs";
|
||||
Settings.DefaultDelegatesFile = "ES20Delegates.cs";
|
||||
|
|
|
@ -15,8 +15,10 @@ namespace Bind.ES
|
|||
public ES3Generator(Settings settings, string dirName)
|
||||
: base(settings, dirName)
|
||||
{
|
||||
Settings.DefaultOutputPath = Path.Combine(
|
||||
Settings.DefaultOutputPath, "../ES30");
|
||||
Settings.DefaultOutputNamespace = "OpenTK.Graphics.ES30";
|
||||
Settings.DefaultImportsFile = "ES30Core.cs";
|
||||
Settings.DefaultImportsFile = "ES3Core.cs";
|
||||
Settings.DefaultDelegatesFile = "ES30Delegates.cs";
|
||||
Settings.DefaultEnumsFile = "ES30Enums.cs";
|
||||
Settings.DefaultWrappersFile = "ES30.cs";
|
||||
|
|
|
@ -15,6 +15,8 @@ namespace Bind.ES
|
|||
public ESGenerator(Settings settings, string dirName)
|
||||
: base(settings, dirName)
|
||||
{
|
||||
Settings.DefaultOutputPath = Path.Combine(
|
||||
Settings.DefaultOutputPath, "../ES11");
|
||||
Settings.DefaultOutputNamespace = "OpenTK.Graphics.ES11";
|
||||
Settings.DefaultImportsFile = "ES11Core.cs";
|
||||
Settings.DefaultDelegatesFile = "ES11Delegates.cs";
|
||||
|
|
|
@ -38,6 +38,8 @@ namespace Bind.GL2
|
|||
public GL4Generator(Settings settings, string dirname)
|
||||
: base(settings, dirname)
|
||||
{
|
||||
Settings.DefaultOutputPath = Path.Combine(
|
||||
Settings.DefaultOutputPath, "../OpenGL4");
|
||||
Settings.DefaultOutputNamespace = "OpenTK.Graphics.OpenGL4";
|
||||
Settings.DefaultImportsFile = "GL4Core.cs";
|
||||
Settings.DefaultDelegatesFile = "GL4Delegates.cs";
|
||||
|
|
Loading…
Reference in a new issue