Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

44 lines (32 sloc) 0.875 kb
#!/usr/bin/squirrelsh
local qmakeOpts = [ "-config", "release" ];
local makeTool = "make";
if (platform() == "macosx") {
qmakeOpts.append("-spec");
qmakeOpts.append("macx-g++");
}
printl("Entering directory: iTestServer");
chdir("iTestServer");
printl("Running LRELEASE (translations)");
run("lrelease", [ "iTestServer.pro" ]);
printl("Leaving directory: iTestServer");
printl("Entering directory: iTestClient");
chdir("../iTestClient");
printl("Running LRELEASE (translations)");
run("lrelease", [ "iTestClient.pro" ]);
printl("Leaving directory: iTestClient");
chdir("..");
printl("Running QMAKE");
run("qmake", qmakeOpts);
switch (getenv("QMAKESPEC"))
{
case "win32-g++":
makeTool = "mingw32-make";
break;
case "win32-msvc":
case "win32-msvc.net":
case "win32-msvc2005":
makeTool = "nmake";
}
printl("Running " + makeTool + " (compiling)");
run(makeTool);
Jump to Line
Something went wrong with that request. Please try again.