You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
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'])
|