| @@ -446,18 +446,16 @@ struct EnableBuildComp : public Component | |||||
| //============================================================================== | //============================================================================== | ||||
| Component* ProjectContentComponent::createBuildTab (CompileEngineChildProcess* child) | 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); | ignoreUnused (child); | ||||
| return new ProjucerDisabledComp ("Linux support is still under development - " | return new ProjucerDisabledComp ("Linux support is still under development - " | ||||
| "please check for updates at www.juce.com!", false, false); | "please check for updates at www.juce.com!", false, false); | ||||
| #else | #else | ||||
| if (child != nullptr) | 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)); | return new BuildTabComponent (child, new ProjucerAppClasses::ErrorListComp (child->errorList)); | ||||
| } | } | ||||
| @@ -1474,7 +1472,6 @@ void ProjectContentComponent::timerCallback() | |||||
| ReferenceCountedObjectPtr<CompileEngineChildProcess> ProjectContentComponent::getChildProcess() | ReferenceCountedObjectPtr<CompileEngineChildProcess> ProjectContentComponent::getChildProcess() | ||||
| { | { | ||||
| #if JUCE_MAC | |||||
| if (childProcess == nullptr && isBuildEnabled()) | if (childProcess == nullptr && isBuildEnabled()) | ||||
| { | { | ||||
| childProcess = ProjucerApplication::getApp().childProcessCache->getOrCreate (*project); | childProcess = ProjucerApplication::getApp().childProcessCache->getOrCreate (*project); | ||||
| @@ -1482,7 +1479,6 @@ ReferenceCountedObjectPtr<CompileEngineChildProcess> ProjectContentComponent::ge | |||||
| if (childProcess != nullptr) | if (childProcess != nullptr) | ||||
| childProcess->setContinuousRebuild (isContinuousRebuildEnabled()); | childProcess->setContinuousRebuild (isContinuousRebuildEnabled()); | ||||
| } | } | ||||
| #endif | |||||
| return childProcess; | return childProcess; | ||||
| } | } | ||||