add rcm-modules (#669)
* add rcm-modules * Fix build Signed-off-by: falkTX <falktx@falktx.com> * append README and LICENSES files * setup symbol conflicts for RCM Signed-off-by: falkTX <falktx@falktx.com> --------- Signed-off-by: falkTX <falktx@falktx.com> Co-authored-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
fe1e7d3311
commit
e5ae62d326
6 changed files with 57 additions and 0 deletions
|
@ -1002,6 +1002,16 @@ PRISM_CUSTOM = bogaudio Scale
|
|||
|
||||
PLUGIN_FILES += $(filter-out rackwindows/src/plugin.cpp,$(wildcard rackwindows/src/*.cpp))
|
||||
|
||||
# --------------------------------------------------------------
|
||||
# RCM
|
||||
|
||||
PLUGIN_FILES += $(filter-out rcm-modules/src/plugin.cpp,$(wildcard rcm-modules/src/*.cpp))
|
||||
PLUGIN_FILES += $(wildcard rcm-modules/src/*.c)
|
||||
PLUGIN_FILES += $(wildcard rcm-modules/src/PianoRoll/*.cpp)
|
||||
|
||||
# modules/types which are present in other plugins
|
||||
RCM_CUSTOM = Transport
|
||||
|
||||
# --------------------------------------------------------------
|
||||
# RebelTech
|
||||
|
||||
|
@ -2680,6 +2690,19 @@ $(BUILD_DIR)/rackwindows/%.cpp.o: rackwindows/%.cpp
|
|||
-Wno-implicit-fallthrough \
|
||||
-Wno-sign-compare
|
||||
|
||||
$(BUILD_DIR)/rcm-modules/%.c.o: rcm-modules/%.c
|
||||
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
|
||||
@echo "Compiling $<"
|
||||
$(SILENT)$(CC) $< $(BUILD_C_FLAGS) -c -o $@ \
|
||||
$(foreach m,$(RCM_CUSTOM),$(call custom_module_names,$(m),RCM))
|
||||
|
||||
$(BUILD_DIR)/rcm-modules/%.cpp.o: rcm-modules/%.cpp
|
||||
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
|
||||
@echo "Compiling $<"
|
||||
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \
|
||||
$(foreach m,$(RCM_CUSTOM),$(call custom_module_names,$(m),RCM)) \
|
||||
-DpluginInstance=pluginInstance__RCM
|
||||
|
||||
$(BUILD_DIR)/RebelTech/%.cpp.o: RebelTech/%.cpp
|
||||
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
|
||||
@echo "Compiling $<"
|
||||
|
|
|
@ -796,6 +796,9 @@ extern Model* modelBlankPanel;
|
|||
// rackwindows
|
||||
#include "rackwindows/src/plugin.hpp"
|
||||
|
||||
// RCM
|
||||
#include "rcm-modules/src/plugin.hpp"
|
||||
|
||||
// RebelTech
|
||||
#define BefacoInputPort BefacoInputPortRebelTech
|
||||
#define BefacoOutputPort BefacoOutputPortRebelTech
|
||||
|
@ -961,6 +964,7 @@ Plugin* pluginInstance__PdArray;
|
|||
Plugin* pluginInstance__PinkTrombone;
|
||||
Plugin* pluginInstance__Prism;
|
||||
Plugin* pluginInstance__rackwindows;
|
||||
Plugin* pluginInstance__RCM;
|
||||
Plugin* pluginInstance__RebelTech;
|
||||
Plugin* pluginInstance__repelzen;
|
||||
Plugin* pluginInstance__sapphire;
|
||||
|
@ -2996,6 +3000,28 @@ static void initStatic__rackwindows()
|
|||
}
|
||||
}
|
||||
|
||||
static void initStatic__RCM()
|
||||
{
|
||||
Plugin* const p = new Plugin;
|
||||
pluginInstance__RCM = p;
|
||||
|
||||
const StaticPluginLoader spl(p, "rcm-modules");
|
||||
if (spl.ok())
|
||||
{
|
||||
p->addModel(modelGVerbModule);
|
||||
p->addModel(modelCV0to10Module);
|
||||
p->addModel(modelCVS0to10Module);
|
||||
p->addModel(modelCV5to5Module);
|
||||
p->addModel(modelCVMmtModule);
|
||||
p->addModel(modelCVTglModule);
|
||||
p->addModel(modelPianoRollModule);
|
||||
p->addModel(modelDuckModule);
|
||||
p->addModel(modelSEQAdapterModule);
|
||||
p->addModel(modelSyncModule);
|
||||
p->addModel(modelPolyNosModule);
|
||||
}
|
||||
}
|
||||
|
||||
static void initStatic__RebelTech()
|
||||
{
|
||||
Plugin* const p = new Plugin;
|
||||
|
@ -3458,6 +3484,7 @@ void initStaticPlugins()
|
|||
initStatic__PinkTrombone();
|
||||
initStatic__Prism();
|
||||
initStatic__rackwindows();
|
||||
initStatic__RCM();
|
||||
initStatic__RebelTech();
|
||||
initStatic__repelzen();
|
||||
initStatic__Sapphire();
|
||||
|
|
1
plugins/rcm-modules
Submodule
1
plugins/rcm-modules
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit c4a243ec7089254aa19225c0666bb4bda2163a6a
|
Loading…
Add table
Add a link
Reference in a new issue