From f93038fbee1631b95922b0742e0fd00fa8dae02e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 27 Jan 2017 15:25:26 +0200 Subject: Add notion of phase, enforce --- build2/config/operation.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build2/config') 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 projects; + // Note: doing everything in the load phase. + // for (void* v: ts) { scope& root (*static_cast (v)); -- cgit v1.1