mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 16:35:33 +00:00
25 lines
756 B
Meson
25 lines
756 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 = lib_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')
|