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/target | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'build2/target') diff --git a/build2/target b/build2/target index 28753df..dfc6abc 100644 --- a/build2/target +++ b/build2/target @@ -954,10 +954,12 @@ namespace build2 public: using target::target; - // Generally, modification time for a target can only be queried - // after a rule has been matched since that's where the path is - // normally gets assigned. Normally, however, it would make sense - // to first execute the rule to get the "updated" timestamp. + // Generally, modification time for a target can only be queried after a + // rule has been matched since that's where the path is normally gets + // assigned (if the path was not assigned and no timestamp was set + // manually, this function will return timestamp_unknown). Normally, + // however, it would make sense to first execute the rule to get the + // "updated" timestamp. // // The rule for groups that utilize the group state is as follows: // if it has any members that are mtime_targets, then the group @@ -986,6 +988,8 @@ namespace build2 } protected: + // Return timestamp_unknown if the mtime cannot be loaded. + // virtual timestamp load_mtime () const = 0; -- cgit v1.1