| 1 |
project('doxygen test', 'cpp', version : '0.1.0', meson_version: '>=0.56') |
| 2 |
|
| 3 |
spede_inc = include_directories('include') |
| 4 |
|
| 5 |
spede_src = [ 'src/spede.cpp' ] |
| 6 |
|
| 7 |
spede_lib = library('spede', spede_src, include_directories: spede_inc) |
| 8 |
|
| 9 |
doxygen = find_program('doxygen', required : false) |
| 10 |
if not doxygen.found() |
| 11 |
error('MESON_SKIP_TEST doxygen not found.') |
| 12 |
endif |
| 13 |
|
| 14 |
cdata = configuration_data() |
| 15 |
cdata.set('VERSION', meson.project_version()) |
| 16 |
|
| 17 |
if find_program('dot', required : false).found() |
| 18 |
# In the real world this would set the variable |
| 19 |
# to YES. However we set it to NO so that the |
| 20 |
# list of generated files is always the same |
| 21 |
# so tests always pass. |
| 22 |
cdata.set('HAVE_DOT', 'NO') |
| 23 |
else |
| 24 |
cdata.set('HAVE_DOT', 'NO') |
| 25 |
endif |
| 26 |
|
| 27 |
subdir('doc') |