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,4 +1,4 @@
project('fourdst', 'cpp', version: 'v0.9.8', default_options: ['cpp_std=c++23'], meson_version: '>=1.5.0')
project('fourdst', 'cpp', version: 'v0.9.9', default_options: ['cpp_std=c++23'], meson_version: '>=1.5.0')
add_project_arguments('-fvisibility=default', language: 'cpp')
@@ -12,8 +12,9 @@ endif
subdir('build-config')
# Configure python bindings
subdir('build-python')
if get_option('build-python')
subdir('build-python')
# Build python bindings
subdir('src-pybind')
subdir('src-pybind')
endif