Ejemplo n.º 1
0
 protected override string GenerateCommandLineCommands()
 {
     CommandLineBuilder.AppendSwitchIfNotNull("-out ", OutputPath);
     // No trailing space, preprocessor definitions are passed as -d<Variable>=<Value>
     CommandLineBuilder.AppendArrayIfNotNull("-d", PreprocessorDefinitions.ToArray());
     CommandLineBuilder.AppendArrayIfNotNull("-ext ", Extensions.ToArray());
     CommandLineBuilder.AppendSwitchIfNotNull("-arch ", Arch);
     CommandLineBuilder.AppendFileNamesIfNotNull(SourceFiles.ToArray(), " ");
     return(CommandLineBuilder.ToString());
 }