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