mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Enable live comilation for Windows
This commit is contained in:
parent
b841406324
commit
e8da23d43b
1 changed files with 4 additions and 8 deletions
|
|
@ -446,18 +446,16 @@ struct EnableBuildComp : public Component
|
|||
//==============================================================================
|
||||
Component* ProjectContentComponent::createBuildTab (CompileEngineChildProcess* child)
|
||||
{
|
||||
#if JUCE_WINDOWS
|
||||
ignoreUnused (child);
|
||||
return new ProjucerDisabledComp ("Windows support is still under development - "
|
||||
"please check for updates at www.juce.com!", false, false);
|
||||
#elif JUCE_LINUX
|
||||
#if JUCE_LINUX
|
||||
ignoreUnused (child);
|
||||
return new ProjucerDisabledComp ("Linux support is still under development - "
|
||||
"please check for updates at www.juce.com!", false, false);
|
||||
#else
|
||||
if (child != nullptr)
|
||||
{
|
||||
child->crashHandler = [this] (const String& m) { this->handleCrash (m); };
|
||||
child->crashHandler = [this] (const String& m) {
|
||||
this->handleCrash (m);
|
||||
};
|
||||
|
||||
return new BuildTabComponent (child, new ProjucerAppClasses::ErrorListComp (child->errorList));
|
||||
}
|
||||
|
|
@ -1474,7 +1472,6 @@ void ProjectContentComponent::timerCallback()
|
|||
|
||||
ReferenceCountedObjectPtr<CompileEngineChildProcess> ProjectContentComponent::getChildProcess()
|
||||
{
|
||||
#if JUCE_MAC
|
||||
if (childProcess == nullptr && isBuildEnabled())
|
||||
{
|
||||
childProcess = ProjucerApplication::getApp().childProcessCache->getOrCreate (*project);
|
||||
|
|
@ -1482,7 +1479,6 @@ ReferenceCountedObjectPtr<CompileEngineChildProcess> ProjectContentComponent::ge
|
|||
if (childProcess != nullptr)
|
||||
childProcess->setContinuousRebuild (isContinuousRebuildEnabled());
|
||||
}
|
||||
#endif
|
||||
|
||||
return childProcess;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue