Browse Source

UnitTestsDemo: Enable LV2 hosting, so that the Projucer correctly sets up include paths

pull/22/head
reuk 3 years ago
parent
commit
e86b886038
No known key found for this signature in database GPG Key ID: 9ADCD339CFC98A11
2 changed files with 8 additions and 3 deletions
  1. +1
    -1
      examples/Utilities/UnitTestsDemo.h
  2. +7
    -2
      modules/juce_audio_processors/juce_audio_processors.cpp

+ 1
- 1
examples/Utilities/UnitTestsDemo.h View File

@@ -36,7 +36,7 @@
juce_opengl, juce_osc, juce_product_unlocking, juce_video
exporters: xcode_mac, vs2022, linux_make, androidstudio, xcode_iphone
moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1,JUCE_PLUGINHOST_VST3=1
moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1,JUCE_PLUGINHOST_VST3=1,JUCE_PLUGINHOST_LV2=1
defines: JUCE_UNIT_TESTS=1
type: Component


+ 7
- 2
modules/juce_audio_processors/juce_audio_processors.cpp View File

@@ -225,6 +225,11 @@ private:
#include "format_types/juce_LV2PluginFormat.cpp"
#if JUCE_UNIT_TESTS
#include "format_types/juce_VST3PluginFormat_test.cpp"
#include "format_types/juce_LV2PluginFormat_test.cpp"
#if JUCE_PLUGINHOST_VST3
#include "format_types/juce_VST3PluginFormat_test.cpp"
#endif
#if JUCE_PLUGINHOST_LV2
#include "format_types/juce_LV2PluginFormat_test.cpp"
#endif
#endif

Loading…
Cancel
Save