The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
432 B
16 lines
432 B
5 years ago
|
project('hotdoc', 'c')
|
||
|
|
||
|
hotdoc = find_program('hotdoc', required: false)
|
||
|
if not hotdoc.found()
|
||
|
error('MESON_SKIP_TEST hotdoc not found.')
|
||
|
endif
|
||
|
|
||
|
subdir('doc')
|
||
|
|
||
|
assert(hotdoc.has_extensions(['gi-extension']) == true,
|
||
|
'GI extension should always be found.')
|
||
|
|
||
|
assert(hotdoc.has_extensions(['gi-extension', 'no-way-you-exist-extension']) == false,
|
||
|
'A hotdoc extension called "no-way-you-exist-extension" should never be found.')
|
||
|
|