| 1 |
Basic Installation |
| 2 |
================== |
| 3 |
|
| 4 |
Nickle uses the meson build system (https://mesonbuild.com/). These |
| 5 |
two commands will configure, build, test and install the interpreter: |
| 6 |
|
| 7 |
$ meson setup build |
| 8 |
$ ninja -C build test install |
| 9 |
|
| 10 |
Optional Features |
| 11 |
================= |
| 12 |
|
| 13 |
There's only one nickle-specific configuration option, libedit, which |
| 14 |
directs the build to use libedit instead of libreadline for |
| 15 |
command-line editing: |
| 16 |
|
| 17 |
$ meson setup build -Dlibedit=true |
| 18 |
|
| 19 |
Installation |
| 20 |
============ |
| 21 |
|
| 22 |
Select an installation prefix other than the default (/usr/local) with |
| 23 |
the --prefix option: |
| 24 |
|
| 25 |
$ meson setup build --prefix=/usr |