summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorOrkun Tokdemir <ilhanorkuntokdemir@gmail.com>2023-04-03 14:52:13 (GMT)
committerBrad King <brad.king@kitware.com>2023-04-05 20:12:16 (GMT)
commit69cf9700e6873a86094fe66c5091c21b909e1969 (patch)
tree40b06b875c47853a8ac6ddde5b01ad88454e2cbc /Source/cmGlobalGenerator.h
parent7cecb6353e0018fc2b4d0de83c209c0465b585ce (diff)
downloadCMake-69cf9700e6873a86094fe66c5091c21b909e1969.zip
CMake-69cf9700e6873a86094fe66c5091c21b909e1969.tar.gz
CMake-69cf9700e6873a86094fe66c5091c21b909e1969.tar.bz2
Autogen: Defer setup until Generate step
It is better to set variables up once all target dependencies are known.
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index 0e0624a..dde3648 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -50,6 +50,7 @@ class cmLinkLineComputer;
class cmLocalGenerator;
class cmMakefile;
class cmOutputConverter;
+class cmQtAutoGenGlobalInitializer;
class cmSourceFile;
class cmState;
class cmStateDirectory;
@@ -683,6 +684,11 @@ protected:
cmake* CMakeInstance;
std::vector<std::unique_ptr<cmMakefile>> Makefiles;
LocalGeneratorVector LocalGenerators;
+
+#ifndef CMAKE_BOOTSTRAP
+ std::unique_ptr<cmQtAutoGenGlobalInitializer> QtAutoGen;
+#endif
+
cmMakefile* CurrentConfigureMakefile;
// map from project name to vector of local generators in that project
std::map<std::string, std::vector<cmLocalGenerator*>> ProjectMap;