aboutsummaryrefslogtreecommitdiff
path: root/build/bin/module.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-08-27 15:11:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-08-27 15:11:40 +0200
commitfd689eb883655dcb29e505b041cd02fac01f0bac (patch)
tree0d85ec32d95a1c96eaa7eff28734b900c44dd3ca /build/bin/module.cxx
parent7f2d06258d57e39940e8fa959336da0ea66fe37f (diff)
Dist module/meta-operation initial implementation
Diffstat (limited to 'build/bin/module.cxx')
-rw-r--r--build/bin/module.cxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/build/bin/module.cxx b/build/bin/module.cxx
index 4c5cca5..63f602c 100644
--- a/build/bin/module.cxx
+++ b/build/bin/module.cxx
@@ -57,13 +57,11 @@ namespace build
{
auto& rs (b.rules);
- rs.insert<obj> (default_id, "bin.obj", obj_);
- rs.insert<obj> (update_id, "bin.obj", obj_);
- rs.insert<obj> (clean_id, "bin.obj", obj_);
+ rs.insert<obj> (perform_id, update_id, "bin.obj", obj_);
+ rs.insert<obj> (perform_id, clean_id, "bin.obj", obj_);
- rs.insert<lib> (default_id, "bin.lib", lib_);
- rs.insert<lib> (update_id, "bin.lib", lib_);
- rs.insert<lib> (clean_id, "bin.lib", lib_);
+ rs.insert<lib> (perform_id, update_id, "bin.lib", lib_);
+ rs.insert<lib> (perform_id, clean_id, "bin.lib", lib_);
//@@ Should we check if the install module was loaded
// (by checking if install operation is registered
@@ -72,7 +70,7 @@ namespace build
// should enforce loading of all operation-defining
// modules before all others?
//
- rs.insert<lib> (install_id, "bin.lib", lib_);
+ rs.insert<lib> (perform_id, install_id, "bin.lib", lib_);
}
// Enter module variables.