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.

111 lines
4.8KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library - "Jules' Utility Class Extensions"
  4. Copyright 2004-9 by Raw Material Software Ltd.
  5. ------------------------------------------------------------------------------
  6. JUCE can be redistributed and/or modified under the terms of the GNU General
  7. Public License (Version 2), as published by the Free Software Foundation.
  8. A copy of the license is included in the JUCE distribution, or can be found
  9. online at www.gnu.org/licenses.
  10. JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
  11. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  12. A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  13. ------------------------------------------------------------------------------
  14. To release a closed-source product which uses JUCE, commercial licenses are
  15. available: visit www.rawmaterialsoftware.com/juce for more information.
  16. ==============================================================================
  17. */
  18. #ifndef __JUCE_INCLUDECHARACTERISTICS_JUCEHEADER__
  19. #define __JUCE_INCLUDECHARACTERISTICS_JUCEHEADER__
  20. //==============================================================================
  21. /* The JucePluginCharacteristics.h file is supposed to live in your plugin-specific
  22. project directory, and has to contain info describing its name, type, etc. For
  23. more info, see the JucePluginCharacteristics.h that is included in the demo plugin.
  24. You may need to adjust the include path of your project to make sure it can be
  25. found by this include statement. (Don't hack this file to change the include path)
  26. */
  27. #include "JucePluginCharacteristics.h"
  28. #define SUPPORT_CARBON 1
  29. //==============================================================================
  30. // The following stuff is just to cause a compile error if you've forgotten to
  31. // define all your plugin settings properly.
  32. #ifndef JucePlugin_IsSynth
  33. #error "You need to define the JucePlugin_IsSynth value in your JucePluginCharacteristics.h file!"
  34. #endif
  35. #ifndef JucePlugin_ManufacturerCode
  36. #error "You need to define the JucePlugin_ManufacturerCode value in your JucePluginCharacteristics.h file!"
  37. #endif
  38. #ifndef JucePlugin_PluginCode
  39. #error "You need to define the JucePlugin_PluginCode value in your JucePluginCharacteristics.h file!"
  40. #endif
  41. #ifndef JucePlugin_ProducesMidiOutput
  42. #error "You need to define the JucePlugin_ProducesMidiOutput value in your JucePluginCharacteristics.h file!"
  43. #endif
  44. #ifndef JucePlugin_WantsMidiInput
  45. #error "You need to define the JucePlugin_WantsMidiInput value in your JucePluginCharacteristics.h file!"
  46. #endif
  47. #ifndef JucePlugin_MaxNumInputChannels
  48. #error "You need to define the JucePlugin_MaxNumInputChannels value in your JucePluginCharacteristics.h file!"
  49. #endif
  50. #ifndef JucePlugin_MaxNumOutputChannels
  51. #error "You need to define the JucePlugin_MaxNumOutputChannels value in your JucePluginCharacteristics.h file!"
  52. #endif
  53. #ifndef JucePlugin_PreferredChannelConfigurations
  54. #error "You need to define the JucePlugin_PreferredChannelConfigurations value in your JucePluginCharacteristics.h file!"
  55. #endif
  56. #ifdef JucePlugin_Latency
  57. #error "JucePlugin_Latency is now deprecated - instead, call the AudioProcessor::setLatencySamples() method if your plugin has a non-zero delay"
  58. #endif
  59. #ifndef JucePlugin_SilenceInProducesSilenceOut
  60. #error "You need to define the JucePlugin_SilenceInProducesSilenceOut value in your JucePluginCharacteristics.h file!"
  61. #endif
  62. #ifndef JucePlugin_EditorRequiresKeyboardFocus
  63. #error "You need to define the JucePlugin_EditorRequiresKeyboardFocus value in your JucePluginCharacteristics.h file!"
  64. #endif
  65. #ifndef JucePlugin_TailLengthSeconds
  66. #error "You need to define the JucePlugin_TailLengthSeconds value in your JucePluginCharacteristics.h file!"
  67. #endif
  68. #if ! (JucePlugin_Build_VST || JucePlugin_Build_AU || JucePlugin_Build_RTAS || JucePlugin_Build_Standalone)
  69. #error "You need to define at least one plugin format value in your JucePluginCharacteristics.h file!"
  70. #endif
  71. #if JucePlugin_Build_VST && (JUCE_USE_VSTSDK_2_4 != 0 && JUCE_USE_VSTSDK_2_4 != 1)
  72. #error "You need to define the JUCE_USE_VSTSDK_2_4 value in your JucePluginCharacteristics.h file!"
  73. #endif
  74. #if JucePlugin_Build_RTAS && _MSC_VER && ! defined (JucePlugin_WinBag_path)
  75. #error "You need to define the JucePlugin_WinBag_path value in your JucePluginCharacteristics.h file!"
  76. #endif
  77. #if JucePlugin_Build_AU && ! defined (JucePlugin_AUCocoaViewClassName)
  78. #error "You need to define the JucePlugin_AUCocoaViewClassName value in your JucePluginCharacteristics.h file!"
  79. #endif
  80. #endif // __JUCE_INCLUDECHARACTERISTICS_JUCEHEADER__