Browse Source

Move res/faust to ./faust_libraries.

pull/57/head
Andrew Belt 4 years ago
parent
commit
9c79fa6621
3 changed files with 6 additions and 2 deletions
  1. +5
    -1
      Makefile
  2. +0
    -0
      faust_libraries/rack.lib
  3. +1
    -1
      src/FaustEngine.cpp

+ 5
- 1
Makefile View File

@@ -212,6 +212,7 @@ FLAGS += -Idep/vult
DEPS += $(vult)
endif


# LibPD
ifeq ($(LIBPD), 1)
libpd := dep/lib/libpd.a
@@ -255,6 +256,7 @@ SOURCES += src/FaustEngine.cpp
OBJECTS += $(libfaust)
DEPS += $(libfaust)
FLAGS += -DINTERP
DISTRIBUTABLES += faust_libraries

# Test using LLVM
#LDFLAGS += -L/usr/local/lib -lfaust
@@ -267,7 +269,9 @@ $(libfaust):
cd dep/faust && git checkout 1dfc452a8250f3123b5100edf8c882e1cea407a1
cd dep/faust/build && make cmake BACKENDS=interp.cmake TARGETS=interp.cmake
cd dep/faust/build && make install PREFIX="$(DEP_PATH)"
cp -rf dep/faust/libraries/* res/faust/
cp -r dep/faust/libraries/* faust_libraries/
rm -rf faust_libraries/doc
rm -rf faust_libraries/docs

endif



res/faust/rack.lib → faust_libraries/rack.lib View File


+ 1
- 1
src/FaustEngine.cpp View File

@@ -225,7 +225,7 @@ public:
fDSP(nullptr),
fInputs(nullptr),
fOutputs(nullptr),
fDSPLibraries(rack::asset::plugin(pluginInstance, "res/faust"))
fDSPLibraries(rack::asset::plugin(pluginInstance, "faust_libraries"))
{}

~FaustEngine() {


Loading…
Cancel
Save