build(meson): more robust python build mode

This commit is contained in:
2026-06-11 10:56:54 -04:00
parent 92795f8f5a
commit e88d89e71e
7 changed files with 35 additions and 18 deletions

View File

@@ -3,4 +3,5 @@ option('build_tests', type: 'boolean', value: true, description: 'Build unit and
option('build_examples', type: 'boolean', value: true, description: 'Build simple example programs')
option('lib_install_dir', type: 'string', value: '', description: 'Override install dir for the shared library (used by the fourdst umbrella to place libs inside the Python package in wheel builds). Empty = default libdir.')
option('header_install_dir', type: 'string', value: '', description: 'Override the header install root (used by the fourdst umbrella to place headers inside the Python package in wheel builds). Empty = default includedir.')
option('build_python', type: 'boolean', value: false, description: 'Build in python mode. Note that this does not generate a wheel; rather, this is the appropriate option to turn on when packaging this component inside of a wheel.')