diff --git a/modules/juce_core/system/juce_TargetPlatform.h b/modules/juce_core/system/juce_TargetPlatform.h index 2deabebe48..f1e8fe649e 100644 --- a/modules/juce_core/system/juce_TargetPlatform.h +++ b/modules/juce_core/system/juce_TargetPlatform.h @@ -46,13 +46,19 @@ #ifdef JUCE_APP_CONFIG_HEADER #include JUCE_APP_CONFIG_HEADER #elif ! defined (JUCE_GLOBAL_MODULE_SETTINGS_INCLUDED) - /* Most projects will want to contain a global header file containing settings that - should be applied to all the modules when building them. The projucer will set - this up automatically, but if you're doing things manually, you may want to set - the JUCE_APP_CONFIG_HEADER macro with the name of a file to include, or just include - one before all the module cpp files, and set JUCE_GLOBAL_MODULE_SETTINGS_INCLUDED - in it to silence this error. (Or if you don't need a global header, then you can - just set JUCE_GLOBAL_MODULE_SETTINGS_INCLUDED to stop this error) + /* + Most projects will contain a global header file containing various settings that + should be applied to all the code in your project. If you use the projucer, it'll + set up a global header file for you automatically, but if you're doing things manually, + you may want to set the JUCE_APP_CONFIG_HEADER macro with the name of a file to include, + or just include one before all the module cpp files, in which you set + JUCE_GLOBAL_MODULE_SETTINGS_INCLUDED=1 to silence this error. + (Or if you don't need a global header, then you can just define JUCE_GLOBAL_MODULE_SETTINGS_INCLUDED + globally to avoid this error). + + Note for people who hit this error when trying to compile a JUCE project created by + a pre-v4.2 version of the Introjucer/Projucer, it's very easy to fix: just re-save + your project with the latest version of the Projucer, and it'll magically fix this! */ #error "No global header file was included!" #endif