diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-04-15 11:59:58 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-04-15 11:59:58 +0200 |
commit | ad720fabd468974e3909f62a0f4e4e3cf0d03aef (patch) | |
tree | 8c6b7d851e42a42118b28488a9a3def8e86cd849 /build/b.cxx | |
parent | ace1743f7f78bb13f99553d6e97ad1beecf1ba99 (diff) |
Initial library support
Diffstat (limited to 'build/b.cxx')
-rw-r--r-- | build/b.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/build/b.cxx b/build/b.cxx index e53844c..3fe9d20 100644 --- a/build/b.cxx +++ b/build/b.cxx @@ -139,8 +139,9 @@ main (int argc, char* argv[]) target_types.insert (dir::static_type); target_types.insert (fsdir::static_type); - target_types.insert (exe::static_type); target_types.insert (obj::static_type); + target_types.insert (exe::static_type); + target_types.insert (lib::static_type); target_types.insert (cxx::h::static_type); target_types.insert (cxx::c::static_type); @@ -157,6 +158,10 @@ main (int argc, char* argv[]) rules[update_id][typeid (exe)].emplace ("cxx.gnu.link", cxx_link); rules[clean_id][typeid (exe)].emplace ("cxx.gnu.link", cxx_link); + rules[default_id][typeid (lib)].emplace ("cxx.gnu.link", cxx_link); + rules[update_id][typeid (lib)].emplace ("cxx.gnu.link", cxx_link); + rules[clean_id][typeid (lib)].emplace ("cxx.gnu.link", cxx_link); + cxx::compile cxx_compile; rules[default_id][typeid (obj)].emplace ("cxx.gnu.compile", cxx_compile); rules[update_id][typeid (obj)].emplace ("cxx.gnu.compile", cxx_compile); |