From 2a9d673f298b623db061ee85d397563d644c8268 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 29 Aug 2015 08:14:27 +0200 Subject: New configure meta-operation implementation Now we search and match (but do not execute) a rule for every operation supported by the project. --- build/bin/module.cxx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'build/bin') diff --git a/build/bin/module.cxx b/build/bin/module.cxx index 63f602c..760c90d 100644 --- a/build/bin/module.cxx +++ b/build/bin/module.cxx @@ -57,11 +57,15 @@ namespace build { auto& rs (b.rules); - rs.insert (perform_id, update_id, "bin.obj", obj_); - rs.insert (perform_id, clean_id, "bin.obj", obj_); + rs.insert (perform_id, update_id, "bin", obj_); + rs.insert (perform_id, clean_id, "bin", obj_); - rs.insert (perform_id, update_id, "bin.lib", lib_); - rs.insert (perform_id, clean_id, "bin.lib", lib_); + rs.insert (perform_id, update_id, "bin", lib_); + rs.insert (perform_id, clean_id, "bin", lib_); + + // Configure members. + // + rs.insert (configure_id, update_id, "lib", lib_); //@@ Should we check if the install module was loaded // (by checking if install operation is registered @@ -70,7 +74,7 @@ namespace build // should enforce loading of all operation-defining // modules before all others? // - rs.insert (perform_id, install_id, "bin.lib", lib_); + rs.insert (perform_id, install_id, "bin", lib_); } // Enter module variables. -- cgit v1.1