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.

67 lines
2.4KB

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