Small tweaks to get mscHack to work
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
2e3f9f468c
commit
4a93ccd666
3 changed files with 7 additions and 2 deletions
2
.gitmodules
vendored
2
.gitmodules
vendored
|
@ -72,4 +72,4 @@
|
|||
url = git@github.com:Xenakios/Atelier.git
|
||||
[submodule "plugins/mscHack"]
|
||||
path = plugins/mscHack
|
||||
url = https://github.com/mschack/VCV-Rack-Plugins.git
|
||||
url = https://github.com/CardinalModules/mscHack.git
|
||||
|
|
|
@ -438,6 +438,9 @@ MINDMELD_CUSTOM = printNote
|
|||
|
||||
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
|
||||
|
||||
|
@ -909,7 +912,8 @@ $(BUILD_DIR)/mscHack/%.cpp.o: mscHack/%.cpp
|
|||
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
|
||||
@echo "Compiling $<"
|
||||
$(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 \
|
||||
-Dinit=init__mscHack
|
||||
|
||||
|
|
1
plugins/res/mscHack
Symbolic link
1
plugins/res/mscHack
Symbolic link
|
@ -0,0 +1 @@
|
|||
../mscHack/res
|
Loading…
Add table
Add a link
Reference in a new issue