Debian Codegraph @

src/version/meson.build

raw
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2
3 vcs_tag = get_option('vcs-tag')
4 version_h = custom_target('version',
5 build_always_stale : vcs_tag,
6 input : 'version.h.in',
7 output : 'version.h',
8 capture : true,
9 command : [
10 vcs_tag_sh,
11 '@INPUT@',
12 get_option('mode'),
13 vcs_tag ? '1' : '0',
14 ])
15 version_include = include_directories('.')
16 userspace_sources += [version_h]
17 generated_sources += [version_h]