File: INSTALL

package info (click to toggle)
calf 0.90.6-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 21,944 kB
  • sloc: cpp: 37,604; xml: 12,698; ansic: 5,928; python: 1,537; makefile: 203; javascript: 159; lex: 51; sh: 32
file content (35 lines) | stat: -rw-r--r-- 541 bytes parent folder | download
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 .
```