16 using System.Collections.Generic;
17 using TargetPlatforms;
19 namespace CommandLine {
24 private const string copyrightMessage =
"StaDyn C# 2007 Compiler for Reflective Rotor (SSCLI) 1.0\n" +
25 " and Microsoft (R) Windows (R) 2005 Framework.\n";
27 public const string noInputMessage = copyrightMessage +
"\nNo inputs specified. Type /help for help.\n";
28 public const string wrongTarget = copyrightMessage +
"\nThe target specified is not correct. Type /help for help.\n";
29 public const string helpMessage = copyrightMessage +
"\n StaDyn C# 2007 Compiler Options\n" +
30 "/help Displays this usage message (Short form: /?).\n" +
31 "/out:<file> Specify output filename.\n" +
32 "/everythingDynamic Ignores all the dyn files, setting all the references\n" +
33 " to dynamic (Short form: /ed).\n" +
34 "/everythingStatic Ignores all the dyn files, setting all the references\n" +
35 " to static (Short form: /es).\n" +
36 "/target:clr Builds a CLR executable (Short form: /t:clr).\n" +
37 "/target:rrotor Builds a Rrotor executable (Short form: /t:Rrotor).\n" +
38 "/run Runs the program if compilation success\n"+
39 " (Short form: /r).\n" +
41 public const string errorMessage = copyrightMessage +
"\nSome error in the input parameters. Type /help for help.\n";
42 public const string dynAndStaErrorMessage = copyrightMessage +
"\nEverything dynamic and static options cannot be both enabled.\n";
45 public static readonly
string[]
helpOptions = {
"help",
"?" };
50 public static readonly
string[]
runOptions = {
"run",
"r" };
54 public static readonly
string[]
targetNames = {
"rrotor",
"clr" };
static readonly string[] outputOptions
static readonly string[] runOptions
static readonly string[] optionsPrefix
static readonly string[] serverOptions
static readonly string[] optionsAssignment
static readonly string[] targetNames
static readonly string[] helpOptions
static readonly string[] everythigStaticOptions
static readonly TargetPlatform defaultTargetPlatform
const string errorMessage
const string dynAndStaErrorMessage
static readonly string[] everythigDynamicOptions
static readonly string[] targetOptions
const string noInputMessage
static readonly bool defaultRunOption