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 library.
  4. Copyright (c) 2017 - ROLI Ltd.
  5. JUCE is an open source library subject to commercial or open-source
  6. licensing.
  7. By using JUCE, you agree to the terms of both the JUCE 5 End-User License
  8. Agreement and JUCE 5 Privacy Policy (both updated and effective as of the
  9. 27th April 2017).
  10. End User License Agreement: www.juce.com/juce-5-licence
  11. Privacy Policy: www.juce.com/juce-5-privacy-policy
  12. Or: You may also use this code under the terms of the GPL v3 (see
  13. www.gnu.org/licenses).
  14. JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  15. EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  16. DISCLAIMED.
  17. ==============================================================================
  18. */
  19. namespace juce
  20. {
  21. #include "../../juce_core/system/juce_TargetPlatform.h"
  22. #include "../utility/juce_CheckSettingMacros.h"
  23. #if JucePlugin_Build_RTAS
  24. #include "juce_RTAS_DigiCode_Header.h"
  25. #ifdef __clang__
  26. #pragma clang diagnostic push
  27. #pragma clang diagnostic ignored "-Wcomment"
  28. #pragma clang diagnostic ignored "-Wextra-tokens"
  29. #pragma clang diagnostic ignored "-Wnon-virtual-dtor"
  30. #pragma clang diagnostic ignored "-Wreorder"
  31. #pragma clang diagnostic ignored "-Wdeprecated"
  32. #endif
  33. /*
  34. This file is used to include and build the required digidesign CPP files without your project
  35. needing to reference the files directly. Because these files will be found via your include path,
  36. this means that the project doesn't have to change to cope with people's SDKs being in different
  37. locations.
  38. Important note on Windows: In your project settings for the three juce_RTAS_DigiCode.cpp files and
  39. the juce_RTAS_Wrapper.cpp file, you need to set the calling convention to "__stdcall".
  40. If you don't do this, you'll get some unresolved externals and will spend a long time wondering what's
  41. going on... All the other files in your project can be set to use the normal __cdecl convention.
  42. If you get an error building the includes statements below, check your paths - there's a full
  43. list of the necessary Digidesign paths in juce_RTAS_Wrapper.cpp
  44. */
  45. #include <CEffectProcessMIDI.cpp>
  46. #include <PlugInUtils.cpp>
  47. #ifdef __clang__
  48. #pragma clang diagnostic pop
  49. #endif
  50. #endif
  51. } // namespace juce