From 59e8f388bb3915c5f0273fc96e9ba267b8a3110a Mon Sep 17 00:00:00 2001 From: max Date: Thu, 2 Jul 2020 01:15:16 +0200 Subject: [PATCH] Added info to README.md --- Makefile | 9 +++------ README.md | 19 +++++++++++++++++++ 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 56e4eab..8a08076 100644 --- a/Makefile +++ b/Makefile @@ -14,21 +14,18 @@ DISTRIBUTABLES += $(wildcard LICENSE*) include $(RACK_DIR)/arch.mk DUKTAPE ?= 0 -QUICKJS ?= 0 +QUICKJS ?= 1 LUAJIT ?= 1 PYTHON ?= 0 SUPERCOLLIDER ?= 0 -<<<<<<< HEAD VULT ?= 1 +LIBPD ?= 1 # Vult depends on both LuaJIT and QuickJS ifeq ($(VULT), 1) QUICKJS := 1 LUAJIT := 1 endif -======= -LIBPD ?= 1 ->>>>>>> implements Makefile build flow # Entropia File System Watcher efsw := dep/lib/libefsw-static-release.a @@ -41,7 +38,7 @@ $(efsw): cd efsw && cp lib/libefsw-static-release.a $(DEP_PATH)/lib/ cd efsw && cp -R include/efsw $(DEP_PATH)/include/ -# LibPD +# libpd ifeq ($(LIBPD), 1) libpd := dep/lib/libpd.a SOURCES += src/LibPDEngine.cpp diff --git a/README.md b/README.md index 268cc6c..8d6bc4b 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ Supported scripting languages: - JavaScript (ES2020) (.js) - [Lua](https://www.lua.org/) (.lua) - [Vult](https://github.com/modlfo/vult) (.vult) +- [Pure Data](https://puredata.info) (.pd) - [Add your own below](#adding-a-script-engine) [Discussion thread](https://community.vcvrack.com/t/vcv-prototype/3271) @@ -116,6 +117,23 @@ sudo apt install premake4 sudo pacman -S premake ``` +## Build +### Add path to Rack-SDK +```bash +export RACK_DIR=/set/path/to/Rack-SDK/ +``` + +### load submodules +```bash +git submodule update --init --recursive +``` + +### Make +```bash +make dep +make +``` + ## Adding a script engine - Add your scripting language library to the build system so it builds with `make dep`, following the Duktape example in `Makefile`. @@ -131,4 +149,5 @@ sudo pacman -S premake - [Andrew Belt](https://github.com/AndrewBelt): host code, Duktape (JavaScript, not used), LuaJIT (Lua), Python (in development) - [Jerry Sievert](https://github.com/JerrySievert): QuickJS (JavaScript) - [Leonardo Laguna Ruiz](https://github.com/modlfo): Vult +- [CHAIR](https://chair.audio) [Clemens Wegener (libpd), Max Neupert (patches)] : libpd - add your name here