Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vpath/VPATH support #153

Open
kylcho opened this issue Oct 25, 2018 · 0 comments
Open

vpath/VPATH support #153

kylcho opened this issue Oct 25, 2018 · 0 comments

Comments

@kylcho
Copy link

kylcho commented Oct 25, 2018

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<string*> paths;
};

struct VpathInfo {
vector<vpath*> vpaths;
vector<string*> 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?

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

No branches or pull requests

1 participant