blob: 0ec3860efdfabc31533baa6311c6b7a941f3970c (
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
29
|
examples = []
if pango_cairo_backends.contains('png')
examples += [
'cairoshape',
'cairosimple',
'cairotwisted',
]
endif
examples_deps = [ libpango_dep, libpangocairo_dep, ]
if pango_font_backends.contains('freetype')
examples_deps += libpangoft2_dep
endif
# somebody will have to fix this
# if host_system == 'windows'
# # This hasn't been built in years, most likely, but try now
# examples += [ 'pangowin32tobmp' ]
# examples_deps += [ libpangowin32_dep ]
# endif
foreach e: examples
executable(e, '@0@.c'.format(e),
dependencies: examples_deps + pango_deps,
include_directories: root_inc,
install: false)
endforeach
|