added ability to specify extra options to the build line
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40473
This commit is contained in:
parent
efff395182
commit
c5e98f7dc2
@ -19,6 +19,7 @@ namespace builder
|
||||
public string SVNVersion;
|
||||
public string ProductVersion;
|
||||
public string Compressor;
|
||||
public string BuildOptions;
|
||||
public builder.BasePlatform Platform;
|
||||
|
||||
public Config()
|
||||
@ -99,6 +100,10 @@ namespace builder
|
||||
else if (key.CompareTo("Compressor") == 0)
|
||||
{
|
||||
Compressor = val;
|
||||
}
|
||||
else if (key.CompareTo("BuildOptions") == 0)
|
||||
{
|
||||
BuildOptions = val;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -29,6 +29,11 @@ namespace builder
|
||||
info.Arguments = "zcvf \"" + name + "\" \"" + ltarget + "\"";
|
||||
info.UseShellExecute = false;
|
||||
|
||||
if (cfg.BuildOptions != null)
|
||||
{
|
||||
info.Arguments += " " + cfg.BuildOptions;
|
||||
}
|
||||
|
||||
Process p = Process.Start(info);
|
||||
p.WaitForExit();
|
||||
|
||||
|
@ -29,6 +29,11 @@ namespace builder
|
||||
info.Arguments = "-r \"" + name + "\" \"" + ltarget + "\"";
|
||||
info.UseShellExecute = false;
|
||||
|
||||
if (cfg.BuildOptions != null)
|
||||
{
|
||||
info.Arguments += " " + cfg.BuildOptions;
|
||||
}
|
||||
|
||||
Process p = Process.Start(info);
|
||||
p.WaitForExit();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user