mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-18 00:54:19 +00:00
101 lines
4.4 KiB
C
101 lines
4.4 KiB
C
/*
|
|
==============================================================================
|
|
|
|
This file is part of the JUCE library - "Jules' Utility Class Extensions"
|
|
Copyright 2004-9 by Raw Material Software Ltd.
|
|
|
|
------------------------------------------------------------------------------
|
|
|
|
JUCE can be redistributed and/or modified under the terms of the GNU General
|
|
Public License (Version 2), as published by the Free Software Foundation.
|
|
A copy of the license is included in the JUCE distribution, or can be found
|
|
online at www.gnu.org/licenses.
|
|
|
|
JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
|
|
|
------------------------------------------------------------------------------
|
|
|
|
To release a closed-source product which uses JUCE, commercial licenses are
|
|
available: visit www.rawmaterialsoftware.com/juce for more information.
|
|
|
|
==============================================================================
|
|
*/
|
|
|
|
#ifndef __JUCE_INCLUDECHARACTERISTICS_JUCEHEADER__
|
|
#define __JUCE_INCLUDECHARACTERISTICS_JUCEHEADER__
|
|
|
|
//==============================================================================
|
|
/* The JucePluginCharacteristics.h file is supposed to live in your plugin-specific
|
|
project directory, and has to contain info describing its name, type, etc. For
|
|
more info, see the JucePluginCharacteristics.h that is included in the demo plugin.
|
|
|
|
You may need to adjust the include path of your project to make sure it can be
|
|
found by this include statement. (Don't hack this file to change the include path)
|
|
*/
|
|
#include "JucePluginCharacteristics.h"
|
|
|
|
#define SUPPORT_CARBON 1
|
|
|
|
//==============================================================================
|
|
// The following stuff is just to cause a compile error if you've forgotten to
|
|
// define all your plugin settings properly.
|
|
|
|
#ifndef JucePlugin_IsSynth
|
|
#error "You need to define the JucePlugin_IsSynth value in your JucePluginCharacteristics.h file!"
|
|
#endif
|
|
|
|
#ifndef JucePlugin_ManufacturerCode
|
|
#error "You need to define the JucePlugin_ManufacturerCode value in your JucePluginCharacteristics.h file!"
|
|
#endif
|
|
|
|
#ifndef JucePlugin_PluginCode
|
|
#error "You need to define the JucePlugin_PluginCode value in your JucePluginCharacteristics.h file!"
|
|
#endif
|
|
|
|
#ifndef JucePlugin_ProducesMidiOutput
|
|
#error "You need to define the JucePlugin_ProducesMidiOutput value in your JucePluginCharacteristics.h file!"
|
|
#endif
|
|
|
|
#ifndef JucePlugin_WantsMidiInput
|
|
#error "You need to define the JucePlugin_WantsMidiInput value in your JucePluginCharacteristics.h file!"
|
|
#endif
|
|
|
|
#ifndef JucePlugin_MaxNumInputChannels
|
|
#error "You need to define the JucePlugin_MaxNumInputChannels value in your JucePluginCharacteristics.h file!"
|
|
#endif
|
|
|
|
#ifndef JucePlugin_MaxNumOutputChannels
|
|
#error "You need to define the JucePlugin_MaxNumOutputChannels value in your JucePluginCharacteristics.h file!"
|
|
#endif
|
|
|
|
#ifndef JucePlugin_PreferredChannelConfigurations
|
|
#error "You need to define the JucePlugin_PreferredChannelConfigurations value in your JucePluginCharacteristics.h file!"
|
|
#endif
|
|
|
|
#ifdef JucePlugin_Latency
|
|
#error "JucePlugin_Latency is now deprecated - instead, call the AudioProcessor::setLatencySamples() method if your plugin has a non-zero delay"
|
|
#endif
|
|
|
|
#ifndef JucePlugin_SilenceInProducesSilenceOut
|
|
#error "You need to define the JucePlugin_SilenceInProducesSilenceOut value in your JucePluginCharacteristics.h file!"
|
|
#endif
|
|
|
|
#ifndef JucePlugin_EditorRequiresKeyboardFocus
|
|
#error "You need to define the JucePlugin_EditorRequiresKeyboardFocus value in your JucePluginCharacteristics.h file!"
|
|
#endif
|
|
|
|
#if ! (JucePlugin_Build_VST || JucePlugin_Build_AU || JucePlugin_Build_RTAS || JucePlugin_Build_Standalone)
|
|
#error "You need to define at least one plugin format value in your JucePluginCharacteristics.h file!"
|
|
#endif
|
|
|
|
#if JucePlugin_Build_VST && (JUCE_USE_VSTSDK_2_4 != 0 && JUCE_USE_VSTSDK_2_4 != 1)
|
|
#error "You need to define the JUCE_USE_VSTSDK_2_4 value in your JucePluginCharacteristics.h file!"
|
|
#endif
|
|
|
|
#if JucePlugin_Build_RTAS && _MSC_VER && ! defined (JucePlugin_WinBag_path)
|
|
#error "You need to define the JucePlugin_WinBag_path value in your JucePluginCharacteristics.h file!"
|
|
#endif
|
|
|
|
#endif // __JUCE_INCLUDECHARACTERISTICS_JUCEHEADER__
|