From ad720fabd468974e3909f62a0f4e4e3cf0d03aef Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 15 Apr 2015 11:59:58 +0200 Subject: Initial library support --- build/native.cxx | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'build/native.cxx') diff --git a/build/native.cxx b/build/native.cxx index 8d58e66..d8b0149 100644 --- a/build/native.cxx +++ b/build/native.cxx @@ -8,6 +8,15 @@ using namespace std; namespace build { + const target_type obj::static_type + { + typeid (obj), + "obj", + &file::static_type, + &target_factory, + file::static_type.search + }; + const target_type exe::static_type { typeid (exe), @@ -17,12 +26,12 @@ namespace build file::static_type.search }; - const target_type obj::static_type + const target_type lib::static_type { - typeid (obj), - "obj", + typeid (lib), + "lib", &file::static_type, - &target_factory, + &target_factory, file::static_type.search }; } -- cgit v1.1