Skip to content

Support an external build root for read-only source and independent Meson builds #177

Closed

Description

@LunaStev

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

Vex currently places outputs under the project's target/ and coordination/artifact state under .vex/. Meson needs independently selectable build directories without writing generated state into the source checkout.

Acceptance:

  • Add a documented Vex-owned build-root selector; --build-dir is a proposed spelling. Define relative-path resolution and CLI/environment precedence.
  • Place outputs, intermediates, build cache, leases/run generations and mutable build state under the selected root. Keep the reviewed manifest and dependency lock as source inputs; do not silently migrate existing state.
  • Support locked/offline builds from a read-only source tree after explicit dependency preparation. Specify where prepared dependency state lives and how it is selected.
  • Support two independent build roots for one source/workspace, including different profiles, features and compiler targets. Define coordination for shared dependency state separately from output ownership.
  • Make metadata, dry-run, artifact paths and clean consistently honor the selection. Clean must preserve other build roots and source files.
  • Test workspace members, relative/absolute and Unicode paths, invalid/overlapping roots, concurrent builds and unchanged default behavior.

This extends #47/#30/#23; it does not redesign workspace discovery or add foreign build scripts.

Starting points: output layout, invocation, project state.

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