summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenInitializer.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2018-07-22 13:11:38 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2018-07-30 07:22:46 (GMT)
commit84bdae88950584663702be1cab3adf5d8069c58c (patch)
tree285c338c6eb116fa344b146f7b1b60575441864d /Source/cmQtAutoGenInitializer.h
parent8e0d70272d9be5149608ed7441852f53c48c180f (diff)
downloadCMake-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.h14
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;