diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-07-19 17:10:51 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-07-19 17:10:51 +0200 |
commit | 89a9f8174ec858bf6df8515a84f061f211dec551 (patch) | |
tree | 030daad1364ea38a4f2ec22c57b41aeeb8b1b6e8 /build2/cxx/compile.cxx | |
parent | 3ec07c196c9ab86db09c77bff7eb11cd5a5a9b1e (diff) |
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.
Diffstat (limited to 'build2/cxx/compile.cxx')
-rw-r--r-- | build2/cxx/compile.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<path_target&> (xt)); + file& t (static_cast<file&> (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<path_target&> (xt)); + file& t (static_cast<file&> (xt)); cxx* s (execute_prerequisites<cxx> (a, t, t.mtime ())); if (s == nullptr) |