mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 17:45:37 +00:00
Clarified build options.
Disabled support for building with nant. Commandline builds should now use msbuild/xbuild.
This commit is contained in:
parent
d1ab1df7f4
commit
3002fe873f
|
@ -63,7 +63,7 @@ namespace OpenTK.Build
|
||||||
{
|
{
|
||||||
Console.WriteLine("Usage: Build.exe BuildTarget [BuildMode]");
|
Console.WriteLine("Usage: Build.exe BuildTarget [BuildMode]");
|
||||||
Console.WriteLine("\tBuildMode: debug/release");
|
Console.WriteLine("\tBuildMode: debug/release");
|
||||||
Console.WriteLine("\tBuildTarget: mono/net/monodev/sharpdev/vs2005 or clean/distclean/svnclean");
|
Console.WriteLine("\tBuildTarget: vs/vs2005 or clean/distclean");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void Main(string[] args)
|
static void Main(string[] args)
|
||||||
|
@ -76,8 +76,8 @@ namespace OpenTK.Build
|
||||||
Console.Write("Select build target: ");
|
Console.Write("Select build target: ");
|
||||||
args[0] = Console.ReadLine();
|
args[0] = Console.ReadLine();
|
||||||
|
|
||||||
Console.Write("Select build mode (optional): ");
|
//Console.Write("Select build mode (optional): ");
|
||||||
args[1] = Console.ReadLine();
|
//args[1] = Console.ReadLine();
|
||||||
}
|
}
|
||||||
|
|
||||||
RootPath = Directory.GetCurrentDirectory();
|
RootPath = Directory.GetCurrentDirectory();
|
||||||
|
@ -98,23 +98,23 @@ namespace OpenTK.Build
|
||||||
string arg = s.ToLower();
|
string arg = s.ToLower();
|
||||||
switch (arg)
|
switch (arg)
|
||||||
{
|
{
|
||||||
case "debug":
|
//case "debug":
|
||||||
case "d":
|
//case "d":
|
||||||
mode = BuildMode.Debug;
|
// mode = BuildMode.Debug;
|
||||||
break;
|
// break;
|
||||||
|
|
||||||
case "release":
|
//case "release":
|
||||||
case "r":
|
//case "r":
|
||||||
mode = BuildMode.Release;
|
// mode = BuildMode.Release;
|
||||||
break;
|
// break;
|
||||||
|
|
||||||
case "mono":
|
//case "mono":
|
||||||
target = BuildTarget.Mono;
|
// target = BuildTarget.Mono;
|
||||||
break;
|
// break;
|
||||||
|
|
||||||
case "net":
|
//case "net":
|
||||||
target = BuildTarget.Net;
|
// target = BuildTarget.Net;
|
||||||
break;
|
// break;
|
||||||
|
|
||||||
case "monodev":
|
case "monodev":
|
||||||
case "monodevelop":
|
case "monodevelop":
|
||||||
|
@ -143,9 +143,9 @@ namespace OpenTK.Build
|
||||||
target = BuildTarget.Clean;
|
target = BuildTarget.Clean;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "svnclean":
|
//case "svnclean":
|
||||||
target = BuildTarget.SVNClean;
|
// target = BuildTarget.SVNClean;
|
||||||
break;
|
// break;
|
||||||
|
|
||||||
case "distclean":
|
case "distclean":
|
||||||
target = BuildTarget.DistClean;
|
target = BuildTarget.DistClean;
|
||||||
|
|
Loading…
Reference in a new issue