{
CompilerConfig compiler = ideSettings.GetCompilerConfig(ide.workspace.compiler);
ProjectConfig config = project.config;
+ projectWindow.ShowOutputBuildLog(true);
projectWindow.ProjectPrepareMakefile(project, force, true, true, compiler, config);
delete compiler;
}
{
CompilerConfig compiler = ideSettings.GetCompilerConfig(ide.workspace.compiler);
ProjectConfig config = project.config;
+ projectWindow.ShowOutputBuildLog(true);
projectWindow.ProjectPrepareMakefile(project, force, true, true, compiler, config);
delete compiler;
}
{
if(workspace)
{
+ CompilerConfig compiler = ideSettings.GetCompilerConfig(workspace.compiler);
+ projectView.ShowOutputBuildLog(true);
+ projectView.DisplayCompiler(compiler, false);
for(prj : workspace.projects)
- {
- bool first = prj == workspace.projects.firstIterator.data;
- projectView.ProjectUpdateMakefileForAllConfigs(prj, first, first);
- }
+ projectView.ProjectUpdateMakefileForAllConfigs(prj);
+ delete compiler;
}
}
prj = LoadProject(filePath);
if(prj)
{
+ CompilerConfig compiler = ideSettings.GetCompilerConfig(workspace.compiler);
workspace.projects.Add(prj);
if(projectView)
projectView.AddNode(prj.topNode, null);
workspace.modified = true;
workspace.Save();
findInFilesDialog.AddProjectItem(prj);
- projectView.ProjectUpdateMakefileForAllConfigs(prj, true, true);
+ projectView.ShowOutputBuildLog(true);
+ projectView.DisplayCompiler(compiler, false);
+ projectView.ProjectUpdateMakefileForAllConfigs(prj);
+ delete compiler;
{
char location[MAX_LOCATION];
{
if(prj.topNode.modified && prj.Save(prj.filePath))
{
- // ProjectUpdateMakefileForAllConfigs(prj, true, true);
+ // ShowOutputBuildLog(true);
+ // DisplayCompiler(compiler, false);
+ // ProjectUpdateMakefileForAllConfigs(prj);
prj.topNode.modified = false;
}
}
// ************************************************************************
bool DisplayCompiler(CompilerConfig compiler, bool cleanLog)
{
- ShowOutputBuildLog(cleanLog);
ide.outputView.buildBox.Logf($"%s Compiler\n", compiler ? compiler.name : $"{problem with compiler selection}");
}
bool exists;
LogBox logBox = ide.outputView.buildBox;
- ShowOutputBuildLog(cleanLog);
-
if(displayCompiler)
DisplayCompiler(compiler, false);
{
Project prj = project;
CompilerConfig compiler = ideSettings.GetCompilerConfig(ide.workspace.compiler);
+ ShowOutputBuildLog(true);
if(selection || !ide.activeClient)
{
DataRow row = fileList.currentRow;
return true;
}
- bool ProjectUpdateMakefileForAllConfigs(Project project, bool cleanLog, bool displayCompiler)
+ bool ProjectUpdateMakefileForAllConfigs(Project project)
{
CompilerConfig compiler = ideSettings.GetCompilerConfig(ide.workspace.compiler);
- ShowOutputBuildLog(cleanLog);
- if(displayCompiler)
- DisplayCompiler(compiler, false);
-
for(config : project.configurations)
{
ProjectPrepareMakefile(project, forceExists, false, false,
incref compilerDialog;
if(compilerDialog.Modal() == ok && strcmp(compilerDialog.workspaceActiveCompiler, ide.workspace.compiler))
{
+ CompilerConfig compiler = ideSettings.GetCompilerConfig(compilerDialog.workspaceActiveCompiler);
ide.workspace.compiler = compilerDialog.workspaceActiveCompiler;
+ ide.projectView.ShowOutputBuildLog(true);
+ ide.projectView.DisplayCompiler(compiler, false);
for(prj : ide.workspace.projects)
- ide.projectView.ProjectUpdateMakefileForAllConfigs(prj, true, true);
+ ide.projectView.ProjectUpdateMakefileForAllConfigs(prj);
+ delete compiler;
}
delete compilerDialog;
return true;
{
if(prj.Save(prj.filePath))
{
- // ProjectUpdateMakefileForAllConfigs(prj, true, true);
+ // ShowOutputBuildLog(true);
+ // DisplayCompiler(compiler, false);
+ // ProjectUpdateMakefileForAllConfigs(prj);
prj.topNode.modified = false;
prj = null;
for(p : ide.workspace.projects)