Browse Source

Added info to README.md

tags/v1.3.0
max 5 years ago
parent
commit
59e8f388bb
2 changed files with 22 additions and 6 deletions
  1. +3
    -6
      Makefile
  2. +19
    -0
      README.md

+ 3
- 6
Makefile View File

@@ -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


+ 19
- 0
README.md View File

@@ -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

Loading…
Cancel
Save