Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
v7b1 committed Apr 3, 2021
1 parent 9dcad7d commit d234b70
Showing 1 changed file with 4 additions and 72 deletions.
76 changes: 4 additions & 72 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,81 +26,13 @@ Clone the repository and its submodules:

`git clone --recurse-submodules https://github.com/v7b1/mi-UGens.git`

Use the included platform specific `build.sh` script. It takes the SuperCollider source code as its first argument.
Use the included `build.sh` script. It takes the SuperCollider source code as its first argument.

```bash
cd mi-UGens
./<my_platform>-build.sh PATH/TO/SC/SOURCE/CODE
./build.sh PATH/TO/SC/SOURCE/CODE
```

On Windows, use this [Git Bash terminal](https://git-scm.com/download/win) to run the above lines.
On Windows, use the [Git Bash terminal](https://git-scm.com/download/win) to run the above lines.



#### Building for mac

- clone the repository and its submodules

`git clone --recurse-submodules https://github.com/v7b1/mi-UGens.git`

- cd into the directory of the project you want to build

- mkdir build

- cd build

and then:

- cmake -DSC_PATH="path/to/sc-src" -DCMAKE_BUILD_TYPE=RELEASE ..
- make



or use the included `mac-build.sh` script to build all projects at once. It takes the path to SuperCollider source code as its first argument

```bash
cd mi-UGens
./mac-build.sh PATH/TO/SC/SOURCE/CODE
```



Then step inside the newly created build folder and copy the Mi-UGens folder to your SuperCollider extensions.



#### Building for linux

Clone the repository and its submodules

`git clone --recurse-submodules https://github.com/v7b1/mi-UGens.git`

Use the included `linux-build.sh` script to build for linux. It takes the SuperCollider source code as its first argument.

```bash
cd mi-UGens
./linux-build.sh PATH/TO/SC/SOURCE/CODE
```



Collect the UGen files from the build folders of the projects and put them together with the sc folder into your SC extensions folder.



#### Building for windows

Clone the repository and its submodules:

`git clone --recurse-submodules https://github.com/v7b1/mi-UGens.git`

Use the included `win-build.sh` script. It takes the SuperCollider source code as its first argument.

Run this in a [Git Bash terminal](https://git-scm.com/download/win):

```bash
cd mi-UGens
bash ./win-build.sh PATH/TO/SC/SOURCE/CODE
```

Collect the UGen files from the `./build_artifacts` folder and put them together with the sc folder into your SC extensions folder.
Find the newly created mi-UGens folder in the build folder and copy it to your SC extensions folder.

0 comments on commit d234b70

Please sign in to comment.