From 89a9f8174ec858bf6df8515a84f061f211dec551 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 19 Jul 2016 17:10:51 +0200 Subject: Add import library target libi{}, make libs{} the DLL In the end, having libs{} be the DLL with import library being its member is more natural than making libs{} the import library and having dll{} as its member. --- build2/cxx/compile.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build2/cxx/compile.cxx') diff --git a/build2/cxx/compile.cxx b/build2/cxx/compile.cxx index 9efa0b6..432b485 100644 --- a/build2/cxx/compile.cxx +++ b/build2/cxx/compile.cxx @@ -67,7 +67,7 @@ namespace build2 { tracer trace ("cxx::compile"); - path_target& t (static_cast (xt)); + file& t (static_cast (xt)); scope& bs (t.base_scope ()); scope& rs (*bs.root_scope ()); @@ -1235,7 +1235,7 @@ namespace build2 target_state compile:: perform_update (action a, target& xt) { - path_target& t (static_cast (xt)); + file& t (static_cast (xt)); cxx* s (execute_prerequisites (a, t, t.mtime ())); if (s == nullptr) -- cgit v1.1