aboutsummaryrefslogtreecommitdiff
path: root/build/dump.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-04-17 15:08:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-04-17 15:08:05 +0200
commit8f8ab1e8f6d85748547c0d0e9987eed4f3c3e17b (patch)
tree1ef9a9f271d688f1f6f2eb3fc5a8972574677433 /build/dump.cxx
parent6535bf6175af32e2514faf75d2742424751a783b (diff)
Add support for target groups, use to handle obj/obja/objso object targets
Diffstat (limited to 'build/dump.cxx')
-rw-r--r--build/dump.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/dump.cxx b/build/dump.cxx
index dbd9c19..75de2be 100644
--- a/build/dump.cxx
+++ b/build/dump.cxx
@@ -23,14 +23,14 @@ namespace build
{
os << t << ':';
- for (const prerequisite& p: t.prerequisites)
+ for (const prerequisite_target& pe: t.prerequisites)
{
os << ' ';
- if (p.target != nullptr)
- os << *p.target;
+ if (pe.target != nullptr)
+ os << *pe.target;
else
- os << p;
+ os << *pe.prereq;
}
}