Beispiel #1
0
        protected override string GenerateCommandLineCommands()
        {
            CommandLineBuilder.AppendSwitchIfNotNull("-o ", OutputFile);
            CommandLineBuilder.AppendSwitchIfTrue("-fv", AddFileVersion);
            CommandLineBuilder.AppendArrayIfNotNull("-ext ", Extensions.ToArray());
            CommandLineBuilder.AppendSwitchIfNotNull("-sice:", SuppressIces);
            CommandLineBuilder.AppendFileNamesIfNotNull(SourceFiles.ToArray(), " ");

            return(CommandLineBuilder.ToString());
        }
Beispiel #2
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());
 }