diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-02 08:01:42 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-02 08:01:42 +0200 |
commit | 39623df224608e77b5a62dabd35b09783198bc87 (patch) | |
tree | 3da359b809055fa737faec8d72d9ed1844e5c447 /build/target | |
parent | d236d61ee9821abc4e8d3e3928ac2dfa9cb57d98 (diff) |
Various improvements to cli module
Diffstat (limited to 'build/target')
-rw-r--r-- | build/target | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build/target b/build/target index 39f6679..4131338 100644 --- a/build/target +++ b/build/target @@ -506,6 +506,12 @@ namespace build return target != nullptr ? target->type () : prerequisite.get ().type; } + const std::string& + name () const + { + return target != nullptr ? target->name : prerequisite.get ().name; + } + target_type& search () const { |