summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenInitializer.h
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@qt.io>2022-10-06 20:12:22 (GMT)
committerCristian Adam <cristian.adam@qt.io>2022-10-06 20:12:22 (GMT)
commit681714ce205de10f8c5fb39baabed7b9486afcd9 (patch)
tree7c7324866c1d6843292b92549efed35b3dad0b08 /Source/cmQtAutoGenInitializer.h
parent2133cf2c8e575bfff000041505208e28bcdfd4a3 (diff)
downloadCMake-681714ce205de10f8c5fb39baabed7b9486afcd9.zip
CMake-681714ce205de10f8c5fb39baabed7b9486afcd9.tar.gz
CMake-681714ce205de10f8c5fb39baabed7b9486afcd9.tar.bz2
AUTOMOC: Skip PCH when all sources files skip the PCH file too
Fixes: #23464
Diffstat (limited to 'Source/cmQtAutoGenInitializer.h')
-rw-r--r--Source/cmQtAutoGenInitializer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmQtAutoGenInitializer.h b/Source/cmQtAutoGenInitializer.h
index 33749ba..6d5261a 100644
--- a/Source/cmQtAutoGenInitializer.h
+++ b/Source/cmQtAutoGenInitializer.h
@@ -154,6 +154,8 @@ private:
bool GetQtExecutable(GenVarsT& genVars, const std::string& executable,
bool ignoreMissingTarget) const;
+ void handleSkipPch(cmSourceFile* sf);
+
cmQtAutoGenGlobalInitializer* GlobalInitializer = nullptr;
cmGeneratorTarget* GenTarget = nullptr;
cmGlobalGenerator* GlobalGen = nullptr;