feat(meson): More granular build options

fourdst's build system now exposes some options to allow fine grained
control of what is built and what is not
This commit is contained in:
2025-11-28 11:00:51 -05:00
parent 6e489d15e5
commit ab2ae12281
4 changed files with 33 additions and 12 deletions

View File

@@ -1,6 +1,19 @@
subdir('libcomposition')
subdir('libconfig')
subdir('libconstants')
subdir('liblogging')
subdir('libplugin')
subdir('pybind')
if get_option('build-lib-comp') or get_option('build-lib-all') or get_option('build-python')
subdir('libcomposition')
endif
if get_option('build-lib-config') or get_option('build-lib-all') or get_option('build-python')
subdir('libconfig')
endif
if get_option('build-lib-const') or get_option('build-lib-all') or get_option('build-python')
subdir('libconstants')
endif
if get_option('build-lib-log') or get_option('build-lib-all')
subdir('liblogging')
endif
if get_option('build-lib-plugin') or get_option('build-lib-all')
subdir('libplugin')
endif
if get_option('build-python')
subdir('pybind')
endif