From bfbb506ff1a5e87401d4aa633f0707d1238082d0 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 10 Jul 2021 17:59:44 +0200 Subject: Print target names instead of target files when listing targets. --- task_cc.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'task_cc.cc') diff --git a/task_cc.cc b/task_cc.cc index 845ad0e..a5fd9f0 100644 --- a/task_cc.cc +++ b/task_cc.cc @@ -113,6 +113,11 @@ TaskCC::TaskCC(const BuildConfiguration& config, const Settings& settings, } } +std::string TaskCC::name() const +{ + return target(); +} + bool TaskCC::dirtyInner() { if(!std::filesystem::exists(sourceFile)) -- cgit v1.2.3