added "makeopts" to win32 devenv

This commit is contained in:
David Anderson 2007-03-13 00:29:10 +00:00
parent 46a3929365
commit 4dc4616933
3 changed files with 11 additions and 1 deletions

View File

@ -95,7 +95,7 @@ public override string BuildModule(Module module)
info.WorkingDirectory = PropSlashes(dir);
info.FileName = m_Cfg.DevenvPath();
info.Arguments =m_Cfg.MakeOpts();
info.Arguments = m_Cfg.MakeOpts();
info.UseShellExecute = false;
p = Process.Start(info);

View File

@ -63,6 +63,16 @@ public override string BuildModule(Module module)
if (File.Exists(file))
File.Delete(file);
string args = m_Cfg.MakeOpts();
if (args != null)
{
info.Arguments = args;
}
else
{
info.Arguments = "";
}
info.WorkingDirectory = PropSlashes(dir);
info.FileName = m_Cfg.DevenvPath();
info.Arguments = "/rebuild " + module.build + " " + module.vcproj + ".vcproj";