no message
This commit is contained in:
@@ -52,7 +52,7 @@ public class Precompilation extends Pass<db_project_info> {
|
||||
target = Current.getProject();
|
||||
if (Utils_.isWindows()) {
|
||||
//--
|
||||
makepath = ((GlobalDatabase) Utils_.db).settings.get(SettingName.LocalMakePathWindows).toString();
|
||||
makepath = Global.mainModule.getDb().settings.get(SettingName.LocalMakePathWindows).toString();
|
||||
if (makepath.isEmpty()) {
|
||||
Log.Writeln_("Не задан путь к make.exe.\n " +
|
||||
"Укажите его в меню глобальных настроек." +
|
||||
@@ -188,10 +188,10 @@ public class Precompilation extends Pass<db_project_info> {
|
||||
protected void body() throws Exception {
|
||||
if (Utils_.isWindows()) {
|
||||
name_to_kill = "make.exe";
|
||||
StartProcess(Utils_.DQuotes(((GlobalDatabase) Utils_.db).settings.get(SettingName.LocalMakePathWindows).Value) + " -j " + ((GlobalDatabase) Utils_.db).settings.get(SettingName.Kernels).toString(),
|
||||
StartProcess(Utils_.DQuotes((Global.mainModule.getDb()).settings.get(SettingName.LocalMakePathWindows).Value) + " -j " + (Global.mainModule.getDb()).settings.get(SettingName.Kernels).toString(),
|
||||
target.compilation_maxtime);
|
||||
} else
|
||||
StartProcess("make -j " + ((GlobalDatabase) Utils_.db).settings.get(SettingName.Kernels).toString(), target.compilation_maxtime);
|
||||
StartProcess("make -j " + (Global.mainModule.getDb()).settings.get(SettingName.Kernels).toString(), target.compilation_maxtime);
|
||||
}
|
||||
protected void StartProcess(String command, int TA) throws Exception {
|
||||
killed = false;
|
||||
|
||||
Reference in New Issue
Block a user