13
0

waf rule to "compile" preference metadata into C++

This commit is contained in:
Paul Davis 2023-01-27 15:06:48 -07:00
parent 625c099fd0
commit 2d74669c7e

View File

@ -942,6 +942,15 @@ def build(bld):
)
obj.install_path = bld.env['CONFDIR']
# NATIVE ARDOUR BINDING FILES
# explicitly state the use of perl here so that it works on windows too
#
pm_rule = 'perl %s/tools/process-metadata <${SRC[0].abspath()} >${TGT}' % bld.top_dir;
bld(target = 'configuration_metadata.cc',
source = 'preference-metadata',
rule = pm_rule
)
# Icons/Images
bld.install_files(os.path.join (bld.env['DATADIR'], 'icons'), bld.path.ant_glob('icons/*.png'))
bld.install_files(bld.env['DATADIR'], 'ArdourMono.ttf')