Add MUS-X plugin (#707)

* add MUS-X plugin

* fix dual inclusion

---------

Co-authored-by: Johannes Rauch <johannes.rauch@actindo.com>
This commit is contained in:
Jojosito 2024-09-24 22:00:49 +02:00 committed by GitHub
parent 5f4a678660
commit 3c1f9dfb9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 48 additions and 0 deletions

View file

@ -930,6 +930,11 @@ PLUGIN_FILES += $(filter-out MSM/src/MSM.cpp,$(wildcard MSM/src/*.cpp))
# modules/types which are present in other plugins
MSM_CUSTOM = ADSR BlankPanel Delay LFO LowFrequencyOscillator Mult Noise OP VCA VCO sawTable triTable
# --------------------------------------------------------------
# MUS-X
PLUGIN_FILES += $(filter-out MUS-X/src/plugin.cpp,$(wildcard MUS-X/src/*.cpp))
# --------------------------------------------------------------
# myth-modules
@ -2621,6 +2626,13 @@ $(BUILD_DIR)/MSM/%.cpp.o: MSM/%.cpp
$(foreach m,$(MSM_CUSTOM),$(call custom_module_names,$(m),MSM)) \
-DpluginInstance=pluginInstance__MSM
$(BUILD_DIR)/MUS-X/%.cpp.o: MUS-X/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \
$(foreach m,$(MUS_X_CUSTOM),$(call custom_module_names,$(m),MUS_X)) \
-DpluginInstance=pluginInstance__MUS_X
$(BUILD_DIR)/myth-modules/%.cpp.o: myth-modules/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"