diff --git a/modules/juce_graphics/juce_graphics.cpp b/modules/juce_graphics/juce_graphics.cpp index d852554be1..e8f5f2e846 100644 --- a/modules/juce_graphics/juce_graphics.cpp +++ b/modules/juce_graphics/juce_graphics.cpp @@ -23,6 +23,8 @@ ============================================================================== */ +#if !JUCE_AUDIOPROCESSOR_NO_GUI + #ifdef JUCE_GRAPHICS_H_INCLUDED /* When you add this cpp file to your project, you mustn't include it in a file where you've already included any other headers - just put it inside a file on its own, possibly with your config @@ -181,3 +183,5 @@ #include "native/freetype/FreeTypeAmalgam.c" } #endif + +#endif \ No newline at end of file diff --git a/modules/juce_gui_basics/juce_gui_basics.cpp b/modules/juce_gui_basics/juce_gui_basics.cpp index 944d25b1ca..b3c456e6b1 100644 --- a/modules/juce_gui_basics/juce_gui_basics.cpp +++ b/modules/juce_gui_basics/juce_gui_basics.cpp @@ -22,6 +22,7 @@ ============================================================================== */ +#if !JUCE_AUDIOPROCESSOR_NO_GUI #ifdef JUCE_GUI_BASICS_H_INCLUDED /* When you add this cpp file to your project, you mustn't include it in a file where you've @@ -417,3 +418,5 @@ bool juce::isWindowOnCurrentVirtualDesktop (void* x) #if JUCE_UNIT_TESTS #include "native/accessibility/juce_AccessibilityTextHelpers_test.cpp" #endif + +#endif \ No newline at end of file diff --git a/modules/juce_gui_extra/juce_gui_extra.cpp b/modules/juce_gui_extra/juce_gui_extra.cpp index dbb4d75a55..055cc7ca4a 100644 --- a/modules/juce_gui_extra/juce_gui_extra.cpp +++ b/modules/juce_gui_extra/juce_gui_extra.cpp @@ -22,6 +22,7 @@ ============================================================================== */ +#if !JUCE_AUDIOPROCESSOR_NO_GUI #ifdef JUCE_GUI_EXTRA_H_INCLUDED /* When you add this cpp file to your project, you mustn't include it in a file where you've @@ -196,3 +197,5 @@ const WebView2Preferences&) : WebBrowserComponent (unloadWhenHidden) {} #endif + +#endif \ No newline at end of file