build: sanity check options
authorSimon Ser <contact@emersion.fr>
Thu, 5 May 2022 09:14:00 +0000 (11:14 +0200)
committerSimon Ser <contact@emersion.fr>
Tue, 10 May 2022 14:02:51 +0000 (14:02 +0000)
commit9402afc353bb359b4d87622451abd635d111d356
tree49c8f6cc04562c72167fad00376d064336acd6da
parent2dcc35af81cfc894335088a3843fc26af7ac9306
build: sanity check options

Fail when tests/documentation is enabled without libraries. Fail
when neither scanner nor libraries is enabled, because we don't
build anything in that case.

Signed-off-by: Simon Ser <contact@emersion.fr>
doc/meson.build
meson.build
src/meson.build
tests/meson.build