Skip to content

refactor: modernize meson build to use dependency() and override_dependency()#3

Open
mtao wants to merge 1 commit into
mainfrom
refactor/meson-modernize
Open

refactor: modernize meson build to use dependency() and override_dependency()#3
mtao wants to merge 1 commit into
mainfrom
refactor/meson-modernize

Conversation

@mtao
Copy link
Copy Markdown
Owner

@mtao mtao commented Mar 28, 2026

Summary

  • Switch zipper consumption from subproject().get_variable() to dependency('zipper') with [provide] section in wrap file
  • Add meson.override_dependency('art', art_dep) and meson.override_dependency('art-headers', art_headers_dep) so downstream projects can consume ART via dependency()
  • Remove dead code: unused dl_lib (cc.find_library('dl')) and unused TBB_dep (dependency('tbb')) — both were declared but never added to any dependency list
  • Add viewer option to meson_options.txt for future balsa::visualization integration

Part of the cross-project meson modernization effort (zipper PR #12, cpp-template PR #1, quiver PR #7, balsa PR #6, archer PR #3).

Testing

1 test suite passes (145 assertions in 2 test cases). Build produces 17 targets successfully.

Note

PR #2 (feature/image-and-io) adds EXR/PNG I/O with tinyexr and stb subprojects — those will need similar modernization (switch to dependency()) when rebased on top of this.

…ndency()

Switch zipper consumption from subproject().get_variable() to
dependency() with [provide] section in wrap file. Add
meson.override_dependency() for art and art-headers so downstream
projects can consume them via dependency().

Remove dead code: unused dl_lib (cc.find_library('dl')) and unused
TBB_dep (dependency('tbb')) that were declared but never referenced.

Add viewer option to meson_options.txt for future balsa::visualization
integration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant