diff options
| author | Christian Kandeler <christian.kandeler@digia.com> | 2013-04-08 16:23:35 +0200 |
|---|---|---|
| committer | Joerg Bornemann <joerg.bornemann@digia.com> | 2013-04-09 12:01:49 +0200 |
| commit | 3f9470da4c6410c183652ade2d2e85169c558df2 (patch) | |
| tree | 947a0206e2c2dd33828d661b331cafd9d0db3c80 /src/lib/buildgraph/artifactcleaner.cpp | |
| parent | 79646f5e81e70ab04aed374398a2e9aeb913b537 (diff) | |
| download | qbs-3f9470da4c6410c183652ade2d2e85169c558df2.tar.gz | |
Mention the build configuration when giving updates on operations.
E.g. say "starting to build for configuration gcc-debug". This is
especially useful when building for several configurations
simultaneously.
Change-Id: I441615d87be314ec819c2d2267a03fec770402eb
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/lib/buildgraph/artifactcleaner.cpp')
| -rw-r--r-- | src/lib/buildgraph/artifactcleaner.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/buildgraph/artifactcleaner.cpp b/src/lib/buildgraph/artifactcleaner.cpp index be2d3525a..1fe5013b5 100644 --- a/src/lib/buildgraph/artifactcleaner.cpp +++ b/src/lib/buildgraph/artifactcleaner.cpp @@ -140,8 +140,14 @@ void ArtifactCleaner::cleanup(const QList<BuildProductPtr> &products, const Clea { m_hasError = false; + QString configString; + if (!products.isEmpty()) { + configString = Tr::tr(" for configuration %1") + .arg(products.first()->project->resolvedProject()->id()); + } + m_observer->initialize(Tr::tr("Cleaning up%1").arg(configString), products.count() + 1); + QSet<QString> directories; - m_observer->initialize(Tr::tr("Cleaning up"), products.count() + 1); foreach (const BuildProductConstPtr &product, products) { CleanupVisitor visitor(options, m_logger); visitor.visitProduct(product); |
