aboutsummaryrefslogtreecommitdiff
path: root/INSTALL.md
blob: 19b63731bcfa79a62e62e4cc1b8641c2c2be8d24 (plain)
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
# Build and installation instructions

## For end-users and packagers

```
mkdir build
cd build
cmake ..
make
sudo make install
```
## For testers - unit tests only

```
mkdir build
cd build
cmake .. -DENABLE_TESTS=ON
make
make test
```
## For testers - both unit tests and code coverage

```
mkdir build
cd build
cmake .. -DENABLE_COVERAGE=ON
make
make test
make coverage
```
**The install prefix defaults to `/usr`, change it with `-DCMAKE_INSTALL_PREFIX=/some/path`**