diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2018-07-22 13:11:38 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2018-07-30 07:22:46 (GMT) |
commit | 84bdae88950584663702be1cab3adf5d8069c58c (patch) | |
tree | 285c338c6eb116fa344b146f7b1b60575441864d /Source/cmQtAutoGenInitializer.h | |
parent | 8e0d70272d9be5149608ed7441852f53c48c180f (diff) | |
download | CMake-84bdae88950584663702be1cab3adf5d8069c58c.zip CMake-84bdae88950584663702be1cab3adf5d8069c58c.tar.gz CMake-84bdae88950584663702be1cab3adf5d8069c58c.tar.bz2 |
Autogen: Compute variables in Init stage instead of Setup stage
Diffstat (limited to 'Source/cmQtAutoGenInitializer.h')
-rw-r--r-- | Source/cmQtAutoGenInitializer.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Source/cmQtAutoGenInitializer.h b/Source/cmQtAutoGenInitializer.h index bb2c920..6ade2ed 100644 --- a/Source/cmQtAutoGenInitializer.h +++ b/Source/cmQtAutoGenInitializer.h @@ -54,8 +54,9 @@ public: bool SetupCustomTargets(); private: - bool SetupCustomTargetsMoc(); - bool SetupCustomTargetsUic(); + bool InitCustomTargetsMoc(); + bool InitCustomTargetsUic(); + bool InitCustomTargetsRcc(); bool SetupWriteAutogenInfo(); bool SetupWriteRccInfo(); @@ -75,7 +76,7 @@ private: private: cmGeneratorTarget* Target; - bool MultiConfig; + bool MultiConfig = false; // Qt std::string QtVersionMajor; std::string QtVersionMinor; @@ -101,7 +102,7 @@ private: // Moc struct { - bool Enabled; + bool Enabled = false; std::string Executable; std::string PredefsCmd; std::set<std::string> Skip; @@ -109,11 +110,12 @@ private: std::map<std::string, std::string> ConfigIncludes; std::string Defines; std::map<std::string, std::string> ConfigDefines; + std::string MocsCompilation; } Moc; // Uic struct { - bool Enabled; + bool Enabled = false; std::string Executable; std::set<std::string> Skip; std::vector<std::string> SearchPaths; @@ -125,7 +127,7 @@ private: // Rcc struct { - bool Enabled; + bool Enabled = false; std::string Executable; std::vector<std::string> ListOptions; std::vector<Qrc> Qrcs; |