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.

74 lines
2.6KB

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