HALF ECHO LEARN / REFERENCE COLLECTION
v262.2src/version/meson.build
Git blob: a0b03f41a65e88a3aa105cbddbd9bb25cfb536fc
Lines 1–18 of 18
# SPDX-License-Identifier: LGPL-2.1-or-later
vcs_tag = get_option('vcs-tag')
version_h = custom_target('version',
build_always_stale : vcs_tag,
input : 'version.h.in',
output : 'version.h',
capture : true,
command : [
vcs_tag_sh,
'@INPUT@',
get_option('mode'),
vcs_tag ? '1' : '0',
])
version_include = include_directories('.')
userspace_sources += [version_h]
generated_sources += [version_h]