Browse Source

Small tweaks to get mscHack to work

Signed-off-by: falkTX <falktx@falktx.com>
tags/22.02
falkTX 3 years ago
parent
commit
4a93ccd666
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
3 changed files with 7 additions and 2 deletions
  1. +1
    -1
      .gitmodules
  2. +5
    -1
      plugins/Makefile
  3. +1
    -0
      plugins/res/mscHack

+ 1
- 1
.gitmodules View File

@@ -72,4 +72,4 @@
url = git@github.com:Xenakios/Atelier.git url = git@github.com:Xenakios/Atelier.git
[submodule "plugins/mscHack"] [submodule "plugins/mscHack"]
path = plugins/mscHack path = plugins/mscHack
url = https://github.com/mschack/VCV-Rack-Plugins.git
url = https://github.com/CardinalModules/mscHack.git

+ 5
- 1
plugins/Makefile View File

@@ -438,6 +438,9 @@ MINDMELD_CUSTOM = printNote


PLUGIN_FILES += $(wildcard mscHack/src/*.cpp) PLUGIN_FILES += $(wildcard mscHack/src/*.cpp)


# modules/types which are present in other plugins
MSCHACK_CUSTOM_PER_FILE = MAIN_SYNC_CLOCK FILTER_PARAM_STRUCT OSC_PARAM_STRUCT PHRASE_CHANGE_STRUCT

# -------------------------------------------------------------- # --------------------------------------------------------------
# rackwindows # rackwindows


@@ -909,7 +912,8 @@ $(BUILD_DIR)/mscHack/%.cpp.o: mscHack/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)" -@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<" @echo "Compiling $<"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \ $(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \
$(foreach m,$(MINDMELD_CUSTOM),$(call custom_module_names,$(m),JW)) \
$(foreach m,$(MSCHACK_CUSTOM),$(call custom_module_names,$(m),mscHack)) \
$(foreach m,$(MSCHACK_CUSTOM_PER_FILE),$(call custom_per_file_names,$(m),mscHack_$(shell basename $*))) \
-DthePlugin=pluginInstance__mscHack \ -DthePlugin=pluginInstance__mscHack \
-Dinit=init__mscHack -Dinit=init__mscHack




+ 1
- 0
plugins/res/mscHack View File

@@ -0,0 +1 @@
../mscHack/res

Loading…
Cancel
Save