blob: aa328850ee308d8efeb825020a2ca7d77ca2b646 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
cdata = configuration_data()
parts = meson.project_version().split('.')
cdata.set('FOO_MAJOR_VERSION', parts[0])
cdata.set('FOO_MINOR_VERSION', parts[1])
cdata.set('FOO_MICRO_VERSION', parts[2])
configure_file(input : 'foo-version.h.in',
output : 'foo-version.h',
configuration : cdata,
install : true,
install_dir : get_option('includedir'))
generate_enums_docbook = find_program('generate-enums-docbook.py')
docbook = custom_target('enum-docbook',
output : 'bar.xml',
command : [generate_enums_docbook, '@OUTPUT@', 'BAR', 'BAR_TYPE', 'BAR_FOO'],
build_by_default : true)
|