diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-08-29 08:14:27 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-08-29 08:14:27 +0200 |
commit | 2a9d673f298b623db061ee85d397563d644c8268 (patch) | |
tree | 7fa40a9d364f710e3aa7438e273287f14eace725 /build/bin | |
parent | fd689eb883655dcb29e505b041cd02fac01f0bac (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/bin')
-rw-r--r-- | build/bin/module.cxx | 14 |
1 files changed, 9 insertions, 5 deletions
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<obj> (perform_id, update_id, "bin.obj", obj_); - rs.insert<obj> (perform_id, clean_id, "bin.obj", obj_); + rs.insert<obj> (perform_id, update_id, "bin", obj_); + rs.insert<obj> (perform_id, clean_id, "bin", obj_); - rs.insert<lib> (perform_id, update_id, "bin.lib", lib_); - rs.insert<lib> (perform_id, clean_id, "bin.lib", lib_); + rs.insert<lib> (perform_id, update_id, "bin", lib_); + rs.insert<lib> (perform_id, clean_id, "bin", lib_); + + // Configure members. + // + rs.insert<lib> (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<lib> (perform_id, install_id, "bin.lib", lib_); + rs.insert<lib> (perform_id, install_id, "bin", lib_); } // Enter module variables. |