diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-01-14 11:39:21 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-01-14 11:39:21 +0200 |
commit | ce8a94e6a76097ef7eeb34df4257991a20599712 (patch) | |
tree | 5e83b9d083f486a6efe889102f7c2a815e6a06c6 /build/target.cxx | |
parent | ab4421747146aa7995f0cfb1a639c9121c82c915 (diff) |
Track file extension in target, prerequisite
Diffstat (limited to 'build/target.cxx')
-rw-r--r-- | build/target.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/build/target.cxx b/build/target.cxx index 4dffe7f..61423db 100644 --- a/build/target.cxx +++ b/build/target.cxx @@ -27,7 +27,12 @@ namespace build os << s << path::traits::directory_separator; } - os << t.name << '}'; + os << t.name; + + if (t.ext != nullptr) + os << '.' << *t.ext; + + os << '}'; return os; } |