Browse Source

Enable live comilation for Windows

tags/2021-05-28
stefan.graenitz 9 years ago
parent
commit
e8da23d43b
1 changed files with 4 additions and 8 deletions
  1. +4
    -8
      extras/Projucer/Source/Project/jucer_ProjectContentComponent.cpp

+ 4
- 8
extras/Projucer/Source/Project/jucer_ProjectContentComponent.cpp View File

@@ -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…
Cancel
Save