Livecode Faust in SuperCollider using an embedded Faust compiler.
- CMake >= 3.5
- LLVM
- Faust
- SuperCollider source code
Installing them on Arch based systems using an AUR helper:
paru -S faust llvm cmake
See todo.md
Clone the project:
git clone https://github.com/madskjeldgaard/faustgen-supercollider faustgen
cd faustgen
git submodule update --init --recursive
mkdir build
cd build
Then, use CMake to configure and build it:
cmake .. -DCMAKE_BUILD_TYPE=Release -DSC_PATH=<PATH/TO/SC/SOURCE>
cmake --build . --config Release
cmake --build . --config Release --target install
You may want to manually specify the install location in the first step to point it at your
SuperCollider extensions directory: add the option -DCMAKE_INSTALL_PREFIX=/path/to/extensions
.
It's expected that the SuperCollider repo is cloned at ../supercollider
relative to this repo. If
it's not: add the option -DSC_PATH=/path/to/sc/source
.