another build tool fix, golly
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401887
This commit is contained in:
parent
c733283b90
commit
90d275109a
@ -39,9 +39,20 @@ namespace builder
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
string output_folder = (lib.release_mode == ReleaseMode.ReleaseMode_Release) ? "Release" : "Debug";
|
||||||
|
|
||||||
|
if (lib.build_mode == BuildMode.BuildMode_Episode2)
|
||||||
|
{
|
||||||
|
output_folder += ".orangebox";
|
||||||
|
}
|
||||||
|
else if (lib.build_mode == BuildMode.BuildMode_OldMetamod)
|
||||||
|
{
|
||||||
|
output_folder += ".original";
|
||||||
|
}
|
||||||
|
|
||||||
string binpath = Config.PathFormat("{0}/{1}/{2}",
|
string binpath = Config.PathFormat("{0}/{1}/{2}",
|
||||||
path,
|
path,
|
||||||
(lib.release_mode == ReleaseMode.ReleaseMode_Release) ? "Release" : "Debug",
|
output_folder,
|
||||||
binName);
|
binName);
|
||||||
|
|
||||||
if (File.Exists(binpath))
|
if (File.Exists(binpath))
|
||||||
@ -58,12 +69,10 @@ namespace builder
|
|||||||
else if (lib.build_mode == BuildMode.BuildMode_Episode2)
|
else if (lib.build_mode == BuildMode.BuildMode_Episode2)
|
||||||
{
|
{
|
||||||
makefile_args = "ENGINE=\"orangebox\"";
|
makefile_args = "ENGINE=\"orangebox\"";
|
||||||
binpath += ".orangebox";
|
|
||||||
}
|
}
|
||||||
else if (lib.build_mode == BuildMode.BuildMode_OldMetamod)
|
else if (lib.build_mode == BuildMode.BuildMode_OldMetamod)
|
||||||
{
|
{
|
||||||
makefile_args = "ENGINE=\"original\"";
|
makefile_args = "ENGINE=\"original\"";
|
||||||
binpath += ".original";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Clean the project first */
|
/* Clean the project first */
|
||||||
|
Loading…
Reference in New Issue
Block a user