diff options
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 { |