From 077de936cad38ad89fa412f94f3b8e28bf8f2c01 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Wed, 20 May 2009 20:37:16 +0000 Subject: [PATCH] Clarified build options. Disabled support for building with nant. Commandline builds should now use msbuild/xbuild. --- Source/Build/Build.cs | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/Source/Build/Build.cs b/Source/Build/Build.cs index 6b99c796..ddce07de 100644 --- a/Source/Build/Build.cs +++ b/Source/Build/Build.cs @@ -63,7 +63,7 @@ namespace OpenTK.Build { Console.WriteLine("Usage: Build.exe BuildTarget [BuildMode]"); 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) @@ -76,8 +76,8 @@ namespace OpenTK.Build Console.Write("Select build target: "); args[0] = Console.ReadLine(); - Console.Write("Select build mode (optional): "); - args[1] = Console.ReadLine(); + //Console.Write("Select build mode (optional): "); + //args[1] = Console.ReadLine(); } RootPath = Directory.GetCurrentDirectory(); @@ -98,23 +98,23 @@ namespace OpenTK.Build string arg = s.ToLower(); switch (arg) { - case "debug": - case "d": - mode = BuildMode.Debug; - break; + //case "debug": + //case "d": + // mode = BuildMode.Debug; + // break; - case "release": - case "r": - mode = BuildMode.Release; - break; + //case "release": + //case "r": + // mode = BuildMode.Release; + // break; - case "mono": - target = BuildTarget.Mono; - break; + //case "mono": + // target = BuildTarget.Mono; + // break; - case "net": - target = BuildTarget.Net; - break; + //case "net": + // target = BuildTarget.Net; + // break; case "monodev": case "monodevelop": @@ -143,9 +143,9 @@ namespace OpenTK.Build target = BuildTarget.Clean; break; - case "svnclean": - target = BuildTarget.SVNClean; - break; + //case "svnclean": + // target = BuildTarget.SVNClean; + // break; case "distclean": target = BuildTarget.DistClean;