Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
#157

If there are more such build options, it would be nice if they were documented as well.
  • Loading branch information
probonopd authored and hughsie committed Mar 26, 2024
1 parent fac49aa commit 88bb49b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,11 @@ libxmlb is a standard meson project. It can be compiled using the following bas
This will by default install the library into `/usr/local`. On some Linux distributions you may
need to configure the linker path in `/etc/ld.so.conf` to be able to locate it.
The call to `ldconfig` is needed to refresh the linker cache.

`meson build` has options that can be used to disable certain features, e.g.

```
# meson build -Dintrospection=false -Dgtkdoc=false -Dcli=false
```

will remove support for GObject introspection, Gtk documentation, and will only build the library without the command line tool. As a result, fewer libraries are needed for building and running the project.

0 comments on commit 88bb49b

Please sign in to comment.