summaryrefslogtreecommitdiffstats
path: root/qmake/generators/win32/msvc_vcproj.h
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2018-11-22 09:35:38 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2018-11-24 20:12:16 +0000
commite04aaf188c735b775dc4483099ec61a9372b0fa8 (patch)
tree509fc5d31bdbf82e8a3a30a88b8a39b2444d337c /qmake/generators/win32/msvc_vcproj.h
parente5f94f0f0586b2240691f4b17be513b45feac440 (diff)
Support 'CONFIG += precompile_header_c' in VS projects
The CONFIG value precompile_header_c was ignored in the VS project generator. Add a member VcprojGenerator::pchIsCFile that is set to true if precompile_header_c is active. The code in modifyPCHstage had to be rearranged to separate the three parts for stable.h, stable.cpp and other files. Task-number: QTBUG-62821 Change-Id: I340eb165baa22cafcb64815cf223ce9a21aca558 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'qmake/generators/win32/msvc_vcproj.h')
-rw-r--r--qmake/generators/win32/msvc_vcproj.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qmake/generators/win32/msvc_vcproj.h b/qmake/generators/win32/msvc_vcproj.h
index fafc69d9ab..6f9743cb09 100644
--- a/qmake/generators/win32/msvc_vcproj.h
+++ b/qmake/generators/win32/msvc_vcproj.h
@@ -66,6 +66,7 @@ public:
QHash<QString, QString> extraCompilerOutputs;
const QString customBuildToolFilterFileSuffix;
bool usePCH;
+ bool pchIsCFile = false;
VCProjectWriter *projectWriter;
protected: