mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: Ensure that the compile engine settings are stored and recalled correctly
This commit is contained in:
parent
08e87599d3
commit
fabb3a1e09
5 changed files with 12 additions and 4 deletions
|
|
@ -28,6 +28,7 @@
|
|||
#include "jucer_Project.h"
|
||||
#include "../ProjectSaving/jucer_ProjectSaver.h"
|
||||
#include "../Application/jucer_Application.h"
|
||||
#include "../LiveBuildEngine/jucer_CompileEngineSettings.h"
|
||||
|
||||
namespace
|
||||
{
|
||||
|
|
@ -67,6 +68,8 @@ Project::Project (const File& f)
|
|||
|
||||
projectRoot.addListener (this);
|
||||
|
||||
compileEngineSettings.reset (new CompileEngineSettings (projectRoot));
|
||||
|
||||
setChangedFlag (false);
|
||||
modificationTime = getFile().getLastModificationTime();
|
||||
}
|
||||
|
|
@ -579,6 +582,8 @@ Result Project::loadDocument (const File& file)
|
|||
if (! ProjucerApplication::getApp().isRunningCommandLine)
|
||||
warnAboutOldProjucerVersion();
|
||||
|
||||
compileEngineSettings.reset (new CompileEngineSettings (projectRoot));
|
||||
|
||||
return Result::ok();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue