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.

76 lines
2.7KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2015 - ROLI Ltd.
  5. Permission is granted to use this software under the terms of either:
  6. a) the GPL v2 (or any later version)
  7. b) the Affero GPL v3
  8. Details of these licenses can be found at: www.gnu.org/licenses
  9. JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
  10. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  11. A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  12. ------------------------------------------------------------------------------
  13. To release a closed-source product which uses JUCE, commercial licenses are
  14. available: visit www.juce.com for more information.
  15. ==============================================================================
  16. */
  17. #include "../../juce_core/system/juce_TargetPlatform.h"
  18. #include "../utility/juce_CheckSettingMacros.h"
  19. #if JucePlugin_Build_RTAS
  20. #include "juce_RTAS_DigiCode_Header.h"
  21. /*
  22. This file is used to include and build the required digidesign CPP files without your project
  23. needing to reference the files directly. Because these files will be found via your include path,
  24. this means that the project doesn't have to change to cope with people's SDKs being in different
  25. locations.
  26. Important note on Windows: In your project settings for the three juce_RTAS_DigiCode.cpp files and
  27. the juce_RTAS_Wrapper.cpp file, you need to set the calling convention to "__stdcall".
  28. If you don't do this, you'll get some unresolved externals and will spend a long time wondering what's
  29. going on... All the other files in your project can be set to use the normal __cdecl convention.
  30. If you get an error building the includes statements below, check your paths - there's a full
  31. list of the necessary Digidesign paths in juce_RTAS_Wrapper.cpp
  32. */
  33. #if WINDOWS_VERSION
  34. #undef _UNICODE
  35. #undef UNICODE
  36. #endif
  37. #ifdef __clang__
  38. #pragma clang diagnostic push
  39. #pragma clang diagnostic ignored "-Wnon-virtual-dtor"
  40. #pragma clang diagnostic ignored "-Wcomment"
  41. #pragma clang diagnostic ignored "-Wreorder"
  42. #pragma clang diagnostic ignored "-Wextra-tokens"
  43. #pragma clang diagnostic ignored "-Wunused-variable"
  44. #pragma clang diagnostic ignored "-Wdeprecated"
  45. #endif
  46. #include <CEffectGroup.cpp>
  47. #include <CEffectGroupMIDI.cpp>
  48. #include <CEffectMIDIUtils.cpp>
  49. #include <CEffectProcess.cpp>
  50. #include <CEffectProcessAS.cpp>
  51. #include <CEffectType.cpp>
  52. #include <CEffectTypeRTAS.cpp>
  53. #include <ChunkDataParser.cpp>
  54. #ifdef __clang__
  55. #pragma clang diagnostic pop
  56. #endif
  57. #endif