2 using System.Collections.Generic;
6 using SiliconStudio.Core.Diagnostics;
8 namespace SiliconStudio.BuildEngine
18 public List<string> InputFiles =
new List<string>();
21 public List<string> MonitorPipeNames =
new List<string>();
31 public int ThreadCount = Environment.ProcessorCount;
39 BuilderMode = Builder.Mode.Build;
48 return InputFiles.Count == 1;
57 return !string.IsNullOrEmpty(SlavePipe) && !
string.IsNullOrEmpty(BuildDirectory);
68 if (InputFiles.Count != 1)
69 throw new OptionException(
"This tool requires one input file.",
"filename");
71 if (SourceBaseDirectory != null)
73 if (!Directory.Exists(SourceBaseDirectory))
74 throw new OptionException(
"The given working directory does not exist.",
"workingdir");
readonly PluginResolver Plugins
string MetadataDatabaseDirectory
A debug message (level 0).
A verbose message (level 1).
bool IsValidForSlave()
This function indicate if the current builder options mean to execute a slave session ...
Base implementation for ILogger.
Mode
Indicate which mode to use with this builder
BuilderOptions(Logger logger)
void ValidateOptionsForMaster()
Ensure every parameter is correct for a master execution. Throw an OptionException if a parameter is ...
string SourceBaseDirectory
bool IsValidForMaster()
This function indicate if the current builder options mean to execute a master session ...