mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
added "makeopts" to win32 devenv
This commit is contained in:
parent
46a3929365
commit
4dc4616933
Binary file not shown.
@ -95,7 +95,7 @@ public override string BuildModule(Module module)
|
|||||||
|
|
||||||
info.WorkingDirectory = PropSlashes(dir);
|
info.WorkingDirectory = PropSlashes(dir);
|
||||||
info.FileName = m_Cfg.DevenvPath();
|
info.FileName = m_Cfg.DevenvPath();
|
||||||
info.Arguments =m_Cfg.MakeOpts();
|
info.Arguments = m_Cfg.MakeOpts();
|
||||||
info.UseShellExecute = false;
|
info.UseShellExecute = false;
|
||||||
|
|
||||||
p = Process.Start(info);
|
p = Process.Start(info);
|
||||||
|
@ -63,6 +63,16 @@ public override string BuildModule(Module module)
|
|||||||
if (File.Exists(file))
|
if (File.Exists(file))
|
||||||
File.Delete(file);
|
File.Delete(file);
|
||||||
|
|
||||||
|
string args = m_Cfg.MakeOpts();
|
||||||
|
if (args != null)
|
||||||
|
{
|
||||||
|
info.Arguments = args;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
info.Arguments = "";
|
||||||
|
}
|
||||||
|
|
||||||
info.WorkingDirectory = PropSlashes(dir);
|
info.WorkingDirectory = PropSlashes(dir);
|
||||||
info.FileName = m_Cfg.DevenvPath();
|
info.FileName = m_Cfg.DevenvPath();
|
||||||
info.Arguments = "/rebuild " + module.build + " " + module.vcproj + ".vcproj";
|
info.Arguments = "/rebuild " + module.build + " " + module.vcproj + ".vcproj";
|
||||||
|
Loading…
Reference in New Issue
Block a user