Browse Source

Adjust build for juce7 update

Signed-off-by: falkTX <falktx@falktx.com>
roth-air
falkTX 2 years ago
parent
commit
b88fedd991
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
4 changed files with 11 additions and 1 deletions
  1. +2
    -0
      .gitignore
  2. +5
    -1
      libs/juce-plugin/JucePluginMain.cpp
  3. +3
    -0
      libs/juce7/AppConfig.h
  4. +1
    -0
      ports-juce7/meson.build

+ 2
- 0
.gitignore View File

@@ -38,6 +38,7 @@ bin/vst
build/
debian
intermediate
juce_lv2_helper
lv2_ttl_generator

scripts/*.h
@@ -79,4 +80,5 @@ libs/juce*/source/modules/*/native/javaopt/
libs/juce*/source/modules/*/native/oboe/
libs/juce*/source/modules/*/native/*_android_*
libs/juce*/source/modules/*/native/*_ios_*
libs/juce*/source/modules/*/native/accessibility/*_test.cpp
libs/juce*/source/tools

+ 5
- 1
libs/juce-plugin/JucePluginMain.cpp View File

@@ -20,7 +20,11 @@
#if JucePlugin_Build_AU
#include "modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm"
#elif JucePlugin_Build_LV2
#include "modules/juce_audio_plugin_client/LV2/juce_LV2_Wrapper.cpp"
#if JUCE_MAJOR_VERSION >= 7
#include "modules/juce_audio_plugin_client/LV2/juce_LV2_Client.cpp"
#else
#include "modules/juce_audio_plugin_client/LV2/juce_LV2_Wrapper.cpp"
#endif
#elif JucePlugin_Build_RTAS
#include "modules/juce_audio_plugin_client/RTAS/juce_RTAS_Wrapper.cpp"
#elif JucePlugin_Build_VST


+ 3
- 0
libs/juce7/AppConfig.h View File

@@ -9,6 +9,9 @@
#ifndef BUILD_JUCE_APPCONFIG_H_INCLUDED
#define BUILD_JUCE_APPCONFIG_H_INCLUDED
// needed for some plugins
// #define JUCE_MODAL_LOOPS_PERMITTED 1
#define JUCE_MODULE_AVAILABLE_juce_audio_basics 1
#define JUCE_MODULE_AVAILABLE_juce_audio_formats 1
#define JUCE_MODULE_AVAILABLE_juce_audio_plugin_client 1


+ 1
- 0
ports-juce7/meson.build View File

@@ -56,6 +56,7 @@ build_flags_plugin_vst3 = [
'-DJucePlugin_Build_VST=0',
'-DJucePlugin_Build_VST3=1',
'-DJucePlugin_Build_Standalone=0',
'-Wno-non-virtual-dtor',
]

###############################################################################


Loading…
Cancel
Save