1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2026-03-02 04:09:18 +00:00

added build options for meson

This commit is contained in:
Falk Werner
2020-05-25 19:55:09 +02:00
parent b94dc9f612
commit 273e56bd63
3 changed files with 44 additions and 18 deletions

View File

@@ -22,18 +22,35 @@ in order to reduce build dependencies.
- **WITHOUT_ADAPTER**: omit adapter library
`cmake -DWITHOUT_ADAPTER=ON`
- **WIHTOU_PROVIDER**: omit provider library
- **WIHTOUT_PROVIDER**: omit provider library
`cmake -DWITHOUT_PROVIDER=ON`
## Build using Meson (experimental)
_Note: Meson build support is experimental. Do not rely on it._
meson .build
cd .build
ninja build
meson .build
cd .build
ninja build
_Note: Build options are not supported yet._
### Meson Build options
Build options can be specified during meson setup or later via meson configure.
meson -D<option>=<value> .build
The following options are available:
- **without_tests**: _(boolean)_ diable tests
`meson -Dwithout_tests=true .build`
- **without_adapter**: _(boolean)_ omit adapter library
`meson -Dwithout_adapter=true .build`
- **without_provider**: _(boolean)_ omit provider library
`meson -Dwithout_provider=true .build`
_Note that unit tests are only available, when both libraries are built._
## Create API documentation