summaryrefslogtreecommitdiff
path: root/libcppbuild.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-07-10 17:59:44 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2021-07-10 17:59:44 +0200
commitbfbb506ff1a5e87401d4aa633f0707d1238082d0 (patch)
tree97c16cc25807094a655eccb9672c4a80a90b1535 /libcppbuild.cc
parentd7d939e1c813c3ec038fcc2a15d890db63d616ee (diff)
Print target names instead of target files when listing targets.
Diffstat (limited to 'libcppbuild.cc')
-rw-r--r--libcppbuild.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcppbuild.cc b/libcppbuild.cc
index 707cead..0bcbad5 100644
--- a/libcppbuild.cc
+++ b/libcppbuild.cc
@@ -194,7 +194,7 @@ int main(int argc, char* argv[])
{
if(task->targetType() != TargetType::Object)
{
- std::cout << task->target() << "\n";
+ std::cout << task->name() << "\n";
}
}
return 0;