aboutsummaryrefslogtreecommitdiff
path: root/build/cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-08-29 08:14:27 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-08-29 08:14:27 +0200
commit2a9d673f298b623db061ee85d397563d644c8268 (patch)
tree7fa40a9d364f710e3aa7438e273287f14eace725 /build/cli
parentfd689eb883655dcb29e505b041cd02fac01f0bac (diff)
New configure meta-operation implementation
Now we search and match (but do not execute) a rule for every operation supported by the project.
Diffstat (limited to 'build/cli')
-rw-r--r--build/cli/module.cxx4
-rw-r--r--build/cli/rule.cxx2
2 files changed, 5 insertions, 1 deletions
diff --git a/build/cli/module.cxx b/build/cli/module.cxx
index efc9ff2..0e81db3 100644
--- a/build/cli/module.cxx
+++ b/build/cli/module.cxx
@@ -72,6 +72,10 @@ namespace build
rs.insert<cxx::ixx> (perform_id, update_id, "cli", compile_);
rs.insert<cxx::ixx> (perform_id, clean_id, "cli", compile_);
+
+ // We may need to resolve group members.
+ //
+ rs.insert<cli_cxx> (configure_id, update_id, "cli", compile_);
}
// Enter module variables.
diff --git a/build/cli/rule.cxx b/build/cli/rule.cxx
index b3c57f1..8b0ba85 100644
--- a/build/cli/rule.cxx
+++ b/build/cli/rule.cxx
@@ -172,7 +172,7 @@ namespace build
{
case perform_update_id: return &perform_update;
case perform_clean_id: return &perform_clean;
- default: assert (false); return default_recipe;
+ default: return noop_recipe; // Configure update.
}
}
else