summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2018-05-15 12:41:38 -0500
committerFederico Mena Quintero <federico@gnome.org>2018-06-01 18:47:33 -0500
commit818b71703fd07782221ea50fadb6ac86ec12001d (patch)
treeba3a721551c2228c0a15efd3ada0c78e1fb48f26 /README.md
parente9ec4c09d08051a9887b82b7d67910a94106c65d (diff)
downloadgdk-pixbuf-818b71703fd07782221ea50fadb6ac86ec12001d.tar.gz
README.md: notes on how to specify build options and run the test suite
Diffstat (limited to 'README.md')
-rw-r--r--README.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/README.md b/README.md
index 484dfc28d..6b3bc74e3 100644
--- a/README.md
+++ b/README.md
@@ -63,6 +63,27 @@ You can use the `--prefix` argument to control the installation prefix.
You can also use `meson configure` from within the build directory to
check the current build configuration, and change its options.
+#### Build options
+
+You can specify the following options in the command line to `meson`:
+
+* `-Djasper=true` - Enable support for JPEG2000. This requires
+ libjasper's development files to be installed.
+
+* `-Ddocs=true` - Build the API reference documentation. This
+ requires `gtk-doc` to be installed.
+
+* `-Drelocatable=true` - Enable application bundle relocation support.
+
+For a complete list of build-time options, see the file
+[`meson_options.txt`](meson_options.txt). You can read about Meson
+options in general [in the Meson manual](http://mesonbuild.com/Build-options.html).
+
+## Running tests
+
+You can run the test suite by running `meson test -C _build`, where
+`_build` is the build directory you used during the build stage.
+
## License
GdkPixbuf is released under the terms of the GNU Lesser General Public