diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-07-10 17:59:44 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-07-10 17:59:44 +0200 |
commit | bfbb506ff1a5e87401d4aa633f0707d1238082d0 (patch) | |
tree | 97c16cc25807094a655eccb9672c4a80a90b1535 /task_cc.cc | |
parent | d7d939e1c813c3ec038fcc2a15d890db63d616ee (diff) |
Print target names instead of target files when listing targets.
Diffstat (limited to 'task_cc.cc')
-rw-r--r-- | task_cc.cc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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)) |