1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
# CMake install instructions
## Requirements
All: fluidsynth and its development packages
Windows: vcpkg (recommended)
## Build
Note: This is mostly a copy of `.github/workflows/`. If in doubt,
look there.
### Linux or MacOS
```sh
mkdir build && cd $_
cmake ..
make
make install
```
The typical `cmake` options apply, e.g.
```sh
cmake -DCMAKE_INSTALL_PREFIX=$PWD/../install ..
cmake -DCMAKE_BUILD_TYPE=Debug ..
```
### Windows
```
cmake -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake .
cmake --build .
```
|