diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-01-27 15:25:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-13 12:42:41 +0200 |
commit | f93038fbee1631b95922b0742e0fd00fa8dae02e (patch) | |
tree | 6fe67cbde528ee8ded490085b9a8d5adc0ce5aca /build2/config/operation.cxx | |
parent | 267d34d2800d9cc3ed2865cbecf8d32f8f1ab6ec (diff) |
Add notion of phase, enforce
Diffstat (limited to 'build2/config/operation.cxx')
-rw-r--r-- | build2/config/operation.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build2/config/operation.cxx b/build2/config/operation.cxx index 5339ef9..63e6d9b 100644 --- a/build2/config/operation.cxx +++ b/build2/config/operation.cxx @@ -387,6 +387,7 @@ namespace build2 set_current_oif (*oif); dependency_count = 0; + phase_guard pg (run_phase::search_match); match (ml, action (configure_id, id), t); } @@ -566,6 +567,8 @@ namespace build2 set<scope*> projects; + // Note: doing everything in the load phase. + // for (void* v: ts) { scope& root (*static_cast<scope*> (v)); |