Browse Source

Do not build same plugin files twice for each format

Speeds up compilation times

Signed-off-by: falkTX <falktx@falktx.com>
tags/2020-07-14
falkTX 3 years ago
parent
commit
fc97e1e212
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
33 changed files with 29 additions and 58 deletions
  1. +0
    -1
      ports-legacy/HiReSam/meson.build
  2. +0
    -1
      ports-legacy/LUFSMeter-Multi/meson.build
  3. +0
    -1
      ports-legacy/LUFSMeter/meson.build
  4. +0
    -2
      ports-legacy/arctican-function/meson.build
  5. +0
    -2
      ports-legacy/arctican-pilgrim/meson.build
  6. +0
    -1
      ports-legacy/dexed/meson.build
  7. +0
    -2
      ports-legacy/drowaudio-distortion/meson.build
  8. +0
    -2
      ports-legacy/drowaudio-distortionshaper/meson.build
  9. +0
    -2
      ports-legacy/drowaudio-flanger/meson.build
  10. +0
    -2
      ports-legacy/drowaudio-reverb/meson.build
  11. +0
    -2
      ports-legacy/drowaudio-tremolo/meson.build
  12. +0
    -1
      ports-legacy/drumsynth/meson.build
  13. +0
    -1
      ports-legacy/easySSP/meson.build
  14. +0
    -1
      ports-legacy/eqinox/meson.build
  15. +0
    -1
      ports-legacy/juce-opl/meson.build
  16. +0
    -1
      ports-legacy/klangfalter/meson.build
  17. +0
    -2
      ports-legacy/luftikus/meson.build
  18. +25
    -4
      ports-legacy/meson.build
  19. +0
    -2
      ports-legacy/obxd/meson.build
  20. +0
    -1
      ports-legacy/pitchedDelay/meson.build
  21. +0
    -1
      ports-legacy/refine/meson.build
  22. +0
    -1
      ports-legacy/stereosourceseparation/meson.build
  23. +0
    -2
      ports-legacy/tal-dub-3/meson.build
  24. +0
    -2
      ports-legacy/tal-filter-2/meson.build
  25. +0
    -2
      ports-legacy/tal-filter/meson.build
  26. +0
    -2
      ports-legacy/tal-noisemaker/meson.build
  27. +0
    -2
      ports-legacy/tal-reverb-2/meson.build
  28. +0
    -2
      ports-legacy/tal-reverb-3/meson.build
  29. +0
    -2
      ports-legacy/tal-reverb/meson.build
  30. +0
    -2
      ports-legacy/tal-vocoder-2/meson.build
  31. +0
    -2
      ports-legacy/temper/meson.build
  32. +4
    -4
      ports-legacy/vex/meson.build
  33. +0
    -2
      ports-legacy/wolpertinger/meson.build

+ 0
- 1
ports-legacy/HiReSam/meson.build View File

@@ -7,7 +7,6 @@ plugin_srcs = files([
'source/SpectrumAnalyserAudioProcessorEditor.cpp',
'source/SpectrumProcessor.cpp',
'source/SpectrumViewer.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])

plugin_name = 'HiReSam'


+ 0
- 1
ports-legacy/LUFSMeter-Multi/meson.build View File

@@ -19,7 +19,6 @@ plugin_srcs = files([
'source/gui/LoudnessRangeHistory.cpp',
'source/gui/MultiChannelLoudnessBar.cpp',
'source/gui/PreferencesPane.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])

plugin_name = 'LUFSMeterMulti'


+ 0
- 1
ports-legacy/LUFSMeter/meson.build View File

@@ -19,7 +19,6 @@ plugin_srcs = files([
'source/gui/LoudnessRangeHistory.cpp',
'source/gui/MultiChannelLoudnessBar.cpp',
'source/gui/PreferencesPane.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])

plugin_name = 'LUFSMeter'


+ 0
- 2
ports-legacy/arctican-function/meson.build View File

@@ -3,7 +3,6 @@
if linux_embed
plugin_srcs = files([
'source/PluginProcessor.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
else
plugin_srcs = files([
@@ -14,7 +13,6 @@ else
'source/Headers/Binary Data/Backgrounds/thefunctionbackground.cpp',
'source/Headers/Binary Data/UI/button.cpp',
'source/Headers/Binary Data/UI/knobs.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
endif



+ 0
- 2
ports-legacy/arctican-pilgrim/meson.build View File

@@ -4,7 +4,6 @@ if linux_embed
plugin_srcs = files([
'source/PluginParameter.cpp',
'source/PluginProcessor.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
else
plugin_srcs = files([
@@ -14,7 +13,6 @@ else
'source/PluginProcessor.cpp',
'source/Knob.cpp',
'source/KnobsBI.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
endif



+ 0
- 1
ports-legacy/dexed/meson.build View File

@@ -27,7 +27,6 @@ plugin_srcs = files([
'source/msfa/lfo.cc',
'source/msfa/pitchenv.cc',
'source/msfa/sin.cc',
'../../libs/juce-plugin/JucePluginMain.cpp',
])

plugin_name = 'Dexed'


+ 0
- 2
ports-legacy/drowaudio-distortion/meson.build View File

@@ -3,14 +3,12 @@
if linux_embed
plugin_srcs = files([
'source/DRowAudioFilter.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
else
plugin_srcs = files([
'source/DRowAudioEditorComponent.cpp',
'source/DRowAudioFilter.cpp',
'../drowaudio-common/dRowAudio_PluginLookAndFeel.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
endif



+ 0
- 2
ports-legacy/drowaudio-distortionshaper/meson.build View File

@@ -3,7 +3,6 @@
if linux_embed
plugin_srcs = files([
'source/DRowAudioFilter.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
else
plugin_srcs = files([
@@ -11,7 +10,6 @@ else
'source/DRowAudioFilter.cpp',
'source/GraphComponent.cpp',
'../drowaudio-common/dRowAudio_PluginLookAndFeel.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
endif



+ 0
- 2
ports-legacy/drowaudio-flanger/meson.build View File

@@ -3,14 +3,12 @@
if linux_embed
plugin_srcs = files([
'source/DRowAudioFilter.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
else
plugin_srcs = files([
'source/DRowAudioEditorComponent.cpp',
'source/DRowAudioFilter.cpp',
'../drowaudio-common/dRowAudio_PluginLookAndFeel.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
endif



+ 0
- 2
ports-legacy/drowaudio-reverb/meson.build View File

@@ -7,7 +7,6 @@ if linux_embed
'../drowaudio-common/dRowAudio_DelayRegister.cpp',
'../drowaudio-common/dRowAudio_LBCF.cpp',
'../drowaudio-common/dRowAudio_TappedDelayLine.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
else
plugin_srcs = files([
@@ -18,7 +17,6 @@ else
'../drowaudio-common/dRowAudio_LBCF.cpp',
'../drowaudio-common/dRowAudio_PluginLookAndFeel.cpp',
'../drowaudio-common/dRowAudio_TappedDelayLine.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
endif



+ 0
- 2
ports-legacy/drowaudio-tremolo/meson.build View File

@@ -3,7 +3,6 @@
if linux_embed
plugin_srcs = files([
'source/PluginProcessor.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
else
plugin_srcs = files([
@@ -11,7 +10,6 @@ else
'source/PluginLookAndFeel.cpp',
'source/PluginProcessor.cpp',
'source/TremoloBufferView.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
endif



+ 0
- 1
ports-legacy/drumsynth/meson.build View File

@@ -10,7 +10,6 @@ plugin_srcs = files([
'source/IniParser/dictionary.cpp',
'source/IniParser/iniparser.cpp',
'source/Resources/DrumSynthResources.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])

plugin_name = 'drumsynth'


+ 0
- 1
ports-legacy/easySSP/meson.build View File

@@ -6,7 +6,6 @@ plugin_srcs = files([
'source/MainLayout.cpp',
'source/PluginProcessor.cpp',
'source/PreferencesLayout.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])

plugin_name = 'EasySSP'


+ 0
- 1
ports-legacy/eqinox/meson.build View File

@@ -10,7 +10,6 @@ plugin_srcs = files([
'source/Filters/jucetice_AnalogFilter.cpp',
'source/Filters/jucetice_EQ.cpp',
'source/Filters/jucetice_Limiter.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])

plugin_name = 'eqinox'


+ 0
- 1
ports-legacy/juce-opl/meson.build View File

@@ -15,7 +15,6 @@ plugin_srcs = files([
'source/nkopl3.cpp',
'source/tests.cpp',
'source/zdopl.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])

plugin_name = 'JuceOPL'


+ 0
- 1
ports-legacy/klangfalter/meson.build View File

@@ -26,7 +26,6 @@ plugin_srcs = files([
'source/UI/LevelMeter.cpp',
'source/UI/SettingsDialogComponent.cpp',
'source/UI/WaveformComponent.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])

plugin_name = 'KlangFalter'


+ 0
- 2
ports-legacy/luftikus/meson.build View File

@@ -4,7 +4,6 @@ if linux_embed
plugin_srcs = files([
'source/PluginProcessor.cpp',
'source/dsp/eqdsp.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
else
plugin_srcs = files([
@@ -13,7 +12,6 @@ else
'source/PluginProcessor.cpp',
'source/dsp/eqdsp.cpp',
'source/gui2/BinaryData.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
endif



+ 25
- 4
ports-legacy/meson.build View File

@@ -195,8 +195,14 @@ foreach plugin : plugins
plugin_extra_include_dirs = []
plugin_extra_build_flags = []
plugin_extra_link_flags = []
plugin_extra_format_specific_srcs = []

subdir(plugin)

plugin_extra_format_specific_srcs += files([
'../libs/juce-plugin/JucePluginMain.cpp',
])

link_with_plugin = [
lib_juce_legacy
]
@@ -225,10 +231,27 @@ foreach plugin : plugins
endif
endif

plugin_lib = static_library(plugin_name + '_lib',
name_prefix: '',
sources: plugin_srcs,
include_directories: [
include_directories(plugin / 'source'),
plugin_include_dirs,
plugin_extra_include_dirs,
],
c_args: build_flags + build_flags_plugin + plugin_extra_build_flags,
cpp_args: build_flags_cpp + build_flags_plugin + plugin_extra_build_flags,
dependencies: dependencies_plugin + plugin_extra_dependencies,
pic: true,
install: false,
)

link_with_plugin += plugin_lib

if build_lv2
plugin_lv2_lib = shared_library(plugin_name + '_lv2',
name_prefix: '',
sources: plugin_srcs,
sources: plugin_extra_format_specific_srcs,
include_directories: [
include_directories(plugin / 'source'),
plugin_include_dirs,
@@ -238,7 +261,6 @@ foreach plugin : plugins
cpp_args: build_flags_cpp + build_flags_plugin + build_flags_plugin_lv2 + plugin_extra_build_flags,
link_args: link_flags + link_flags_plugin,
link_with: link_with_plugin,
dependencies: dependencies_plugin + plugin_extra_dependencies,
)

plugin_lv2_dir = meson.current_build_dir() / plugin_name + '.lv2'
@@ -260,7 +282,7 @@ foreach plugin : plugins
if build_vst2
plugin_vst2_lib = shared_library(plugin_name,
name_prefix: '',
sources: plugin_srcs,
sources: plugin_extra_format_specific_srcs,
include_directories: [
include_directories(plugin / 'source'),
plugin_include_dirs,
@@ -270,7 +292,6 @@ foreach plugin : plugins
cpp_args: build_flags_cpp + build_flags_plugin + build_flags_plugin_vst2 + plugin_extra_build_flags,
link_args: link_flags + link_flags_plugin,
link_with: link_with_plugin,
dependencies: dependencies_plugin + plugin_extra_dependencies,
install: true,
install_dir: vst2dir,
)


+ 0
- 2
ports-legacy/obxd/meson.build View File

@@ -3,14 +3,12 @@
if linux_embed
plugin_srcs = files([
'source/PluginProcessor.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
else
plugin_srcs = files([
'source/PluginEditor.cpp',
'source/PluginProcessor.cpp',
'source/Gui/BinaryData.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
endif



+ 0
- 1
ports-legacy/pitchedDelay/meson.build View File

@@ -10,7 +10,6 @@ plugin_srcs = files([
'source/dsp/simpledetune.cpp',
'source/gui/DelayGraph.cpp',
'source/gui/pitcheddelaytab.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])

plugin_name = 'PitchedDelay'


+ 0
- 1
ports-legacy/refine/meson.build View File

@@ -10,7 +10,6 @@ plugin_srcs = files([
'source/ReFineLookAndFeel.cpp',
'source/RefineDsp.cpp',
'source/Visualisation.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])

plugin_name = 'ReFine'


+ 0
- 1
ports-legacy/stereosourceseparation/meson.build View File

@@ -6,7 +6,6 @@ plugin_srcs = files([
'source/PluginProcessor.cpp',
'source/kiss_fft/kiss_fft.c',
'source/kiss_fft/kiss_fftr.c',
'../../libs/juce-plugin/JucePluginMain.cpp',
])

plugin_name = 'StereoSourceSeparation'


+ 0
- 2
ports-legacy/tal-dub-3/meson.build View File

@@ -3,13 +3,11 @@
if linux_embed
plugin_srcs = files([
'source/TalCore.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
else
plugin_srcs = files([
'source/TalComponent.cpp',
'source/TalCore.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
endif



+ 0
- 2
ports-legacy/tal-filter-2/meson.build View File

@@ -3,13 +3,11 @@
if linux_embed
plugin_srcs = files([
'source/TalCore.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
else
plugin_srcs = files([
'source/TalComponent.cpp',
'source/TalCore.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
endif



+ 0
- 2
ports-legacy/tal-filter/meson.build View File

@@ -4,14 +4,12 @@ if linux_embed
plugin_srcs = files([
'source/TalCore.cpp',
'source/Engine/Lfo.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
else
plugin_srcs = files([
'source/TalComponent.cpp',
'source/TalCore.cpp',
'source/Engine/Lfo.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
endif



+ 0
- 2
ports-legacy/tal-noisemaker/meson.build View File

@@ -4,14 +4,12 @@ if linux_embed
plugin_srcs = files([
'source/TalCore.cpp',
'source/Engine/Lfo.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
else
plugin_srcs = files([
'source/TalComponent.cpp',
'source/TalCore.cpp',
'source/Engine/Lfo.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
endif



+ 0
- 2
ports-legacy/tal-reverb-2/meson.build View File

@@ -3,13 +3,11 @@
if linux_embed
plugin_srcs = files([
'source/TalCore.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
else
plugin_srcs = files([
'source/TalComponent.cpp',
'source/TalCore.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
endif



+ 0
- 2
ports-legacy/tal-reverb-3/meson.build View File

@@ -3,13 +3,11 @@
if linux_embed
plugin_srcs = files([
'source/TalCore.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
else
plugin_srcs = files([
'source/TalComponent.cpp',
'source/TalCore.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
endif



+ 0
- 2
ports-legacy/tal-reverb/meson.build View File

@@ -3,13 +3,11 @@
if linux_embed
plugin_srcs = files([
'source/TalCore.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
else
plugin_srcs = files([
'source/TalCore.cpp',
'source/ReverbComponent.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
endif



+ 0
- 2
ports-legacy/tal-vocoder-2/meson.build View File

@@ -4,14 +4,12 @@ if linux_embed
plugin_srcs = files([
'source/TalCore.cpp',
'source/engine/vocoder/Fft.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
else
plugin_srcs = files([
'source/TalComponent.cpp',
'source/TalCore.cpp',
'source/engine/vocoder/Fft.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
endif



+ 0
- 2
ports-legacy/temper/meson.build View File

@@ -5,7 +5,6 @@ if linux_embed
'source/FaustUIBridge.cpp',
'source/BinaryData.cpp',
'source/PluginProcessor.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
else
plugin_srcs = files([
@@ -17,7 +16,6 @@ else
'source/RestrictionProcessor.cpp',
'source/SpectroscopeComponent.cpp',
'source/TemperLookAndFeel.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
endif



+ 4
- 4
ports-legacy/vex/meson.build View File

@@ -3,18 +3,18 @@
if linux_embed
plugin_srcs = files([
'source/Vex-src.cpp',
'source/VexFilter.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
else
plugin_srcs = files([
'source/Vex-src.cpp',
'source/VexEditorComponent.cpp',
'source/VexFilter.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
endif

plugin_extra_format_specific_srcs = files([
'source/VexFilter.cpp',
])

plugin_name = 'Vex'

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

+ 0
- 2
ports-legacy/wolpertinger/meson.build View File

@@ -4,7 +4,6 @@ if linux_embed
plugin_srcs = files([
'source/ADSRenv.cpp',
'source/synth.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
else
plugin_srcs = files([
@@ -16,7 +15,6 @@ else
'source/editor.cpp',
'source/synth.cpp',
'source/tabbed-editor.cpp',
'../../libs/juce-plugin/JucePluginMain.cpp',
])
endif



Loading…
Cancel
Save