Skip to content

Export complete build depfiles for Meson and Ninja #178

Closed

Description

@LunaStev

Planned for v0.0.3-beta; reviewed against master cd13f1d9c244cfdb207f38412db6c513bd5fd543.

Vex already resolves packages and tracks freshness, but external schedulers need a machine-readable dependency file to know when to invoke Vex again.

Acceptance:

  • Provide an explicit depfile output contract for a selected build, with documented targets and paths; use Make/Ninja-compatible escaping.
  • Include selected root/imported Wave inputs, manifests, dependency lock and applicable configuration, selected compiler/std inputs, and declared native/link inputs. Describe the conservative policy for unknown SDK/toolchain inputs.
  • Track import additions/removals and package/source-list changes; do not rely only on source mtimes or reuse the freshness hash as a depfile.
  • Publish a new depfile only with a successful verified build and preserve the prior complete file on failure. Respect ownership and existing-file policy.
  • Define dry-run behavior without output creation, multi-package/target behavior, and external build-root interaction.
  • Test transitive imports and path/Git dependencies, disabled features, source deletion, spaces, Unicode, #, $, backslashes and Windows drive letters. Include an incremental Ninja/Meson regression.

This complements #59's internal cache; it does not replace that cache or expose raw compiler flags.

Starting points: build orchestration, freshness, compiler plans.

Integration dependencies: #177.

Activity

  1. self-assigned this
    on Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions