.uppbox: MakeInstall6

git-svn-id: svn://ultimatepp.org/upp/trunk@14111 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2020-03-01 10:49:05 +00:00
parent d2bf49046d
commit 0c73a65aff

View file

@ -73,7 +73,7 @@ String bin = "u:/upp.bin";
int NoDigit(int c) { return IsDigit(c) ? 0 : c; }
int FilterVersion(int c) { return c == ':' ? '_' : c; }
void Make(String pkg, String exe, String method)
void Make(String pkg, String exe, String method = "CLANGx64")
{
Syx("c:/upp/umk " + ass + " " + pkg + " c:/upp/" + method + ".bm -arv " + upptmp + "/" + exe);
FileDelete(upptmp + "/" + ForceExt(exe, ".map"));
@ -103,7 +103,7 @@ CONSOLE_APP_MAIN
SaveFile(upptmp + "/uppsrc/guiplatform.h", "");
SaveFile(upptmp + "/uppsrc/uppconfig.h", LoadFile(uppsrc + "/uppconfig.h"));
SaveFile(upptmp + "/uppsrc/ide/version.h", "#define IDE_VERSION \"" + version + "\"\r\n");
Make("ide", "theide.exe", "CLANGx64");
Make("ide", "theide.exe");
Make("umk", "umk.exe");
SetCurrentDirectory(upptmp);