diff options
| author | Jake Petroules <jake.petroules@petroules.com> | 2013-09-02 23:31:26 -0400 |
|---|---|---|
| committer | Joerg Bornemann <joerg.bornemann@digia.com> | 2013-09-19 13:52:37 +0200 |
| commit | 32f42d797063cd474778301ff9759dc76ec63a91 (patch) | |
| tree | 9b6402540cfea6fc00c9df20caf66844840edec9 /src/lib/buildgraph | |
| parent | 05c9a9b7c51351311446a96749f1e2b1e902e6a7 (diff) | |
| download | qbs-32f42d797063cd474778301ff9759dc76ec63a91.tar.gz | |
Add support for C, Objective-C and Objective-C++ precompiled headers.
Task-number: QBS-278
Change-Id: I2999a64168f70aff21007e55d52314433425e84e
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/lib/buildgraph')
| -rw-r--r-- | src/lib/buildgraph/automoc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/buildgraph/automoc.cpp b/src/lib/buildgraph/automoc.cpp index 0e436923c..60a1ae318 100644 --- a/src/lib/buildgraph/automoc.cpp +++ b/src/lib/buildgraph/automoc.cpp @@ -71,7 +71,7 @@ void AutoMoc::apply(const ResolvedProductPtr &product) Artifact *artifact = *it; if (!pchFile || !pluginMetaDataFile) { foreach (const FileTag &fileTag, artifact->fileTags) { - if (fileTag == "c++_pch") + if (fileTag == "cpp_pch") pchFile = artifact; else if (fileTag == "qt_plugin_metadata") pluginMetaDataFile = artifact; @@ -136,7 +136,7 @@ void AutoMoc::apply(const ResolvedProductPtr &product) } if (pchFile) - artifactsPerFileTag["c++_pch"] += pchFile; + artifactsPerFileTag["cpp_pch"] += pchFile; if (!artifactsPerFileTag.isEmpty()) { emit reportCommandDescription(QLatin1String("automoc"), Tr::tr("Applying moc rules for '%1'.") |
