You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmake: make CMake-native addon packaging the default (via avnd_addon_finalize)
Every avendish addon already calls avnd_addon_finalize(); in a standalone
(non-score) build it now assembles the per-backend distributable packages
automatically through avnd_addon_package(), so addons ship the full layout
— externals + the generated help/example patches + LICENSE/README — with
no per-addon packaging code and no opt-in.
- avnd_addon_finalize: standalone branch calls avnd_addon_package for all
backends (empty ones skip themselves). An addon that needs to bundle a
runtime dependency still calls avnd_addon_package(... SUPPORT ...) itself
before finalize; a global guard makes the auto-call stand down so we never
package twice.
- New avnd_create_pd_addon_package (flat externals + <c_name>-help.pd) and
avnd_create_python_addon_package (py<c_name>.so + a generated __init__.py
re-export shim + examples/<c_name>_example.py), wired into
avnd_addon_package's dispatch. max/touchdesigner/godot already had packagers
that copy their help/example properties; they are now simply auto-invoked.
- avnd_make_pd / avnd_make_python register their externals in the
AVND_ALL_<BK>_EXTERNALS globals the orchestrator enumerates, like the other
backends already did.
Verified against score-addon-puara (unmodified): a PD-only build now emits
build/package/score_addon_puara/ with all 26 externals + 26 matching
-help.pd patches; a Python-only build emits the 26 modules + __init__.py
(imports and re-exports all 26) + 26 examples.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments