revise meson notes in README
This commit is contained in:
parent
298c665d36
commit
e1f4fb3198
12
README.md
12
README.md
@ -64,7 +64,7 @@ install notes](https://libvips.github.io/libvips/install.html).
|
|||||||
# Building from source
|
# Building from source
|
||||||
|
|
||||||
libvips uses the [Meson build system](https://mesonbuild.com), version 0.56 or
|
libvips uses the [Meson build system](https://mesonbuild.com), version 0.56 or
|
||||||
later. The build system also needs `ninja`.
|
later, with [ninja](https://ninja-build.org).
|
||||||
|
|
||||||
To compile, libvips must have `build-essential`, `pkg-config`,
|
To compile, libvips must have `build-essential`, `pkg-config`,
|
||||||
`libglib2.0-dev`, `libexpat1-dev`. See the **Dependencies** section below
|
`libglib2.0-dev`, `libexpat1-dev`. See the **Dependencies** section below
|
||||||
@ -84,11 +84,11 @@ Notes:
|
|||||||
|
|
||||||
- Check the output of `meson setup` carefully and make sure it found
|
- Check the output of `meson setup` carefully and make sure it found
|
||||||
everything you wanted it to find.
|
everything you wanted it to find.
|
||||||
- Use flags like `-Dnsgif=false` to turn options on and off, see
|
- Add flags like `-Dnsgif=false` to turn options on and off, see
|
||||||
`meson_options.txt` for a list of all the options libvips supports.
|
`meson_options.txt` for a list of all the build options libvips supports.
|
||||||
- Use `--buildtype=release` for a release build.
|
- Add `--buildtype=release` for a release (optimised) build.
|
||||||
- You might need `--libdir=lib` on Debian if you don't want the arch name in
|
- You might need to add `--libdir=lib` on Debian if you don't want the arch
|
||||||
the library.
|
name in the library path.
|
||||||
- Use `--default-library=static` for a static build.
|
- Use `--default-library=static` for a static build.
|
||||||
- Use `ninja test` to run the tests.
|
- Use `ninja test` to run the tests.
|
||||||
- There's a more comprehensive test suite you can run with `pytest`.
|
- There's a more comprehensive test suite you can run with `pytest`.
|
||||||
|
Loading…
Reference in New Issue
Block a user