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.

108 lines
4.6KB

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