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.

49 lines
1.5KB

  1. /*
  2. ==============================================================================
  3. Main symbol/entry for juce plugins
  4. ==============================================================================
  5. */
  6. #include "AppConfig.h"
  7. #define JUCE_CORE_INCLUDE_NATIVE_HEADERS 1
  8. #if ! JUCE_AUDIOPROCESSOR_NO_GUI
  9. #define JUCE_GUI_BASICS_INCLUDE_XHEADERS 1
  10. #endif
  11. #include "modules/juce_gui_basics/juce_gui_basics.h"
  12. #undef None
  13. #include "JucePluginMain.h"
  14. #if JucePlugin_Build_AU
  15. #include "modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm"
  16. #elif JucePlugin_Build_LV2
  17. #if JUCE_MAJOR_VERSION >= 6
  18. #include "modules/juce_audio_plugin_client/LV2/juce_LV2_Client.cpp"
  19. #else
  20. #include "modules/juce_audio_plugin_client/LV2/juce_LV2_Wrapper.cpp"
  21. #endif
  22. #elif JucePlugin_Build_RTAS
  23. #include "modules/juce_audio_plugin_client/RTAS/juce_RTAS_Wrapper.cpp"
  24. #elif JucePlugin_Build_VST
  25. // we need to include 'juce_VSTMidiEventList' before 'juce_VST_Wrapper'
  26. #include "modules/juce_audio_plugin_client/utility/juce_IncludeSystemHeaders.h"
  27. #if JUCE_MAJOR_VERSION >= 6
  28. namespace Vst2 {
  29. #endif
  30. #include "modules/juce_audio_processors/format_types/juce_VSTInterface.h"
  31. #if JUCE_MAJOR_VERSION >= 6
  32. }
  33. #endif
  34. #include "modules/juce_audio_processors/format_types/juce_VSTMidiEventList.h"
  35. #include "modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp"
  36. #elif JucePlugin_Build_VST3
  37. #include "modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp"
  38. #elif JucePlugin_Build_Standalone
  39. #include "juce_StandaloneFilterApplication.cpp"
  40. #else
  41. #error Invalid configuration
  42. #endif