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/native.cxx | |
parent | ace1743f7f78bb13f99553d6e97ad1beecf1ba99 (diff) |
Initial library support
Diffstat (limited to 'build/native.cxx')
-rw-r--r-- | build/native.cxx | 17 |
1 files changed, 13 insertions, 4 deletions
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<obj>, + 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<obj>, + &target_factory<lib>, file::static_type.search }; } |