summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenInitializer.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-04-02 16:58:58 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-04-02 18:11:29 (GMT)
commit78eccc7836e068652ea772ec65614bc446f23b14 (patch)
treee5db8d57cb97573b655416107902f0d1067d9572 /Source/cmQtAutoGenInitializer.h
parent56ae290284a7f6f7298bf7410a361aaecb7ebbe9 (diff)
downloadCMake-78eccc7836e068652ea772ec65614bc446f23b14.zip
CMake-78eccc7836e068652ea772ec65614bc446f23b14.tar.gz
CMake-78eccc7836e068652ea772ec65614bc446f23b14.tar.bz2
Autogen: Remove lowercase generator name from generator variables class
The lowercase `Auto*` generator name in `cmQtAutoGenInitializer::GenVarsT` is never user. Remove it from the class.
Diffstat (limited to 'Source/cmQtAutoGenInitializer.h')
-rw-r--r--Source/cmQtAutoGenInitializer.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/Source/cmQtAutoGenInitializer.h b/Source/cmQtAutoGenInitializer.h
index 1f4087f..e7e5db2 100644
--- a/Source/cmQtAutoGenInitializer.h
+++ b/Source/cmQtAutoGenInitializer.h
@@ -62,7 +62,6 @@ public:
bool Enabled = false;
// Generator type/name
GenT Gen;
- std::string const& GenName;
std::string const& GenNameUpper;
// Executable
std::string ExecutableTargetName;
@@ -71,11 +70,9 @@ public:
bool ExecutableExists = false;
/// @brief Constructor
- GenVarsT(GenT gen, std::string const& genName,
- std::string const& genNameUpper)
+ GenVarsT(GenT gen)
: Gen(gen)
- , GenName(genName)
- , GenNameUpper(genNameUpper){};
+ , GenNameUpper(cmQtAutoGen::GeneratorNameUpper(gen)){};
};
/// @brief Writes a CMake info file
@@ -213,8 +210,7 @@ private:
/// @brief Constructor
MocT()
- : GenVarsT(cmQtAutoGen::GenT::MOC, cmQtAutoGen::GenAutoMoc,
- cmQtAutoGen::GenAUTOMOC){};
+ : GenVarsT(GenT::MOC){};
} Moc;
/// @brief Uic only variables
@@ -229,8 +225,7 @@ private:
/// @brief Constructor
UicT()
- : GenVarsT(cmQtAutoGen::GenT::UIC, cmQtAutoGen::GenAutoUic,
- cmQtAutoGen::GenAUTOUIC){};
+ : GenVarsT(GenT::UIC){};
} Uic;
/// @brief Rcc only variables
@@ -242,8 +237,7 @@ private:
/// @brief Constructor
RccT()
- : GenVarsT(cmQtAutoGen::GenT::RCC, cmQtAutoGen::GenAutoRcc,
- cmQtAutoGen::GenAUTORCC){};
+ : GenVarsT(GenT::RCC){};
} Rcc;
};