The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
2.4KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE 7 technical preview.
  4. Copyright (c) 2022 - Raw Material Software Limited
  5. You may use this code under the terms of the GPL v3
  6. (see www.gnu.org/licenses).
  7. For the technical preview this file cannot be licensed commercially.
  8. JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  9. EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  10. DISCLAIMED.
  11. ==============================================================================
  12. */
  13. // The following checks should cause a compile error if you've forgotten to
  14. // define all your plugin settings properly..
  15. #if ! (JucePlugin_Build_VST || JucePlugin_Build_VST3 \
  16. || JucePlugin_Build_AU || JucePlugin_Build_AUv3 \
  17. || JucePlugin_Build_AAX || JucePlugin_Build_Standalone \
  18. || JucePlugin_Build_LV2 || JucePlugin_Build_Unity)
  19. #error "You need to enable at least one plugin format!"
  20. #endif
  21. #ifdef JUCE_CHECKSETTINGMACROS_H
  22. #error "This header should never be included twice! Otherwise something is wrong."
  23. #endif
  24. #define JUCE_CHECKSETTINGMACROS_H
  25. #ifndef JucePlugin_IsSynth
  26. #error "You need to define the JucePlugin_IsSynth value!"
  27. #endif
  28. #ifndef JucePlugin_ManufacturerCode
  29. #error "You need to define the JucePlugin_ManufacturerCode value!"
  30. #endif
  31. #ifndef JucePlugin_PluginCode
  32. #error "You need to define the JucePlugin_PluginCode value!"
  33. #endif
  34. #ifndef JucePlugin_ProducesMidiOutput
  35. #error "You need to define the JucePlugin_ProducesMidiOutput value!"
  36. #endif
  37. #ifndef JucePlugin_WantsMidiInput
  38. #error "You need to define the JucePlugin_WantsMidiInput value!"
  39. #endif
  40. #ifdef JucePlugin_Latency
  41. #error "JucePlugin_Latency is now deprecated - instead, call the AudioProcessor::setLatencySamples() method if your plugin has a non-zero delay"
  42. #endif
  43. #ifndef JucePlugin_EditorRequiresKeyboardFocus
  44. #error "You need to define the JucePlugin_EditorRequiresKeyboardFocus value!"
  45. #endif
  46. //==============================================================================
  47. #if JucePlugin_Build_AAX && ! defined (JucePlugin_AAXIdentifier)
  48. #error "You need to define the JucePlugin_AAXIdentifier value!"
  49. #endif
  50. #if defined (__ppc__)
  51. #undef JucePlugin_Build_AAX
  52. #define JucePlugin_Build_AAX 0
  53. #endif