google / google/kati

vpath/VPATH support

Open
#153 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
1k
Forks
132
Avg merge
11m
Merged PRs (30d)
1

Description

VPATH/vpath for ckati/ninja mode is missing.

I am thinking of data structures similar to below and parse a statement for vpath directive and VPATH variable. Then evaluate them and populate properly. And these data would be used in dependency build phase.

struct vpath {
string* pattern;
vector paths;
};

struct VpathInfo {
vector vpaths;
vector paths;
};

VpathInfo vpaths_;

I am not sure at which stage in dependency build phase, dependency node needs to be updated. Could anybody provide any suggestions and idea?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.