spiegel-keyman/common/engine/keyboardprocessor/include/keyman/meson.build
Tim Eves 93c76c14df Move headers into include/keyman from include/
Necessary to allow keyboardprocessor.h to refer to auxillary headers as 
<keyboard/header.h>
2018-11-06 16:19:14 +07:00

25 lines
768 B
Meson

# Copyright: © 2018 SIL International.
# Description: Cross platform build script to generate installable API header
# files with versioning information templated in.
# Create Date: 2 Oct 2018
# Authors: Tim Eves (TSE)
# History: 6 Oct 2018 - TSE - Move into keyman folder.
#
ver = meson.project_version().split('.')
cfg = configuration_data()
cfg.set('lib_curr', ver[0])
cfg.set('lib_age', ver[1])
cfg.set('lib_rev', ver[2])
configure_file(
configuration: cfg,
input: 'keyboardprocessor.h.in',
output: 'keyboardprocessor.h',
)
install_headers(join_paths(meson.current_build_dir(), 'keyboardprocessor.h'),
'keyboardprocessor_vkeys.h',
'keyboardprocessor_bits.h',
subdir: 'keyman')