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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
gtkdoc_unit_tests = [
'check',
'common',
'highlight',
'mkdb',
'mk-to-db',
'mkhtml2',
'scan',
]
test_env = environment()
test_env.append('PYTHONPATH', srcdir, builddir)
foreach test_name: gtkdoc_unit_tests
test(
'test-unit-@0@'.format(test_name),
python_prg,
env: test_env,
args: [
join_paths(
srcdir,
'tests',
'@0@.py'.format(test_name.underscorify()),
)
],
)
endforeach
subdir('helpers')
glib_dep = dependency('glib-2.0', version: glib_req)
gobject_dep = dependency('gobject-2.0', version: glib_req)
glib_prefix = glib_dep.get_pkgconfig_variable('prefix')
glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
gobject_prefix = gobject_dep.get_pkgconfig_variable('prefix')
gobject_docpath = join_paths(gobject_prefix, 'share', 'gtk-doc', 'html')
subdir('annotations')
subdir('bugs')
subdir('empty')
subdir('fail')
subdir('gobject')
subdir('program')
|