Files
vx/meson_options.txt
T
SFG545 26e2527492 build: support selecting enabled utils in Meson
Add a new Meson array option, utils, to allow building only selected applets while keeping the default as all.

Gate source inclusion, dependencies, symlink/manpage/script install steps, and test registration by enabled util set, and make applet dispatch in src/main.c compile-time conditional via generated config defines.

Document selective build usage in README.
2026-04-18 06:34:18 -05:00

21 lines
296 B
Meson

option('utils',
type : 'array',
value : ['all'],
choices : [
'all',
'patch',
'diff',
'cmp',
'diff3',
'sdiff',
'which',
'gzip',
'grep',
'find',
'xargs',
'lspci',
'setpci',
],
description : 'Utilities to include in vx (default: all)'
)