diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2018-08-13 09:31:39 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2018-08-13 09:31:39 (GMT) |
commit | 1d87c9f318b45ba9984378580d5b4926acfd4c11 (patch) | |
tree | 0bed362795a7dafa850ff8b5fb4fdcfc76b3c3c0 /Source/cmQtAutoGenInitializer.h | |
parent | cd8b094d1dacbff2fa5e520ca167d6f1880310f9 (diff) | |
download | CMake-1d87c9f318b45ba9984378580d5b4926acfd4c11.zip CMake-1d87c9f318b45ba9984378580d5b4926acfd4c11.tar.gz CMake-1d87c9f318b45ba9984378580d5b4926acfd4c11.tar.bz2 |
Autogen: Initializer: Group variables in structs
Diffstat (limited to 'Source/cmQtAutoGenInitializer.h')
-rw-r--r-- | Source/cmQtAutoGenInitializer.h | 58 |
1 files changed, 35 insertions, 23 deletions
diff --git a/Source/cmQtAutoGenInitializer.h b/Source/cmQtAutoGenInitializer.h index 16f9cdd..295d41f 100644 --- a/Source/cmQtAutoGenInitializer.h +++ b/Source/cmQtAutoGenInitializer.h @@ -82,39 +82,49 @@ private: private: cmGeneratorTarget* Target; - bool MultiConfig = false; + // Qt std::string QtVersionMajor; std::string QtVersionMinor; - // Configurations + + // Configuration + bool MultiConfig = false; std::string ConfigDefault; std::vector<std::string> ConfigsList; - std::string Parallel; std::string Verbosity; - // Names - std::string AutogenTargetName; - std::string AutogenFolder; - std::string AutogenInfoFile; - std::string AutogenSettingsFile; - std::map<std::string, std::string> AutogenConfigSettingsFile; - std::set<std::string> AutogenDependFiles; - std::set<cmTarget*> AutogenDependTargets; - // Directories - std::string DirInfo; - std::string DirBuild; - std::string DirWork; - std::string DirInclude; - std::map<std::string, std::string> DirConfigInclude; - // Moc and UIC + std::string TargetsFolder; + + /// @brief Common directories + struct + { + std::string Info; + std::string Build; + std::string Work; + std::string Include; + std::map<std::string, std::string> ConfigInclude; + } Dir; + + /// @brief Autogen target variables struct { - // Sources + std::string Name; + // Settings + std::string Parallel; + // Configuration files + std::string InfoFile; + std::string SettingsFile; + std::map<std::string, std::string> ConfigSettingsFile; + // Dependencies + std::set<std::string> DependFiles; + std::set<cmTarget*> DependTargets; + // Sources to process std::vector<std::string> Headers; std::vector<std::string> Sources; std::vector<std::string> HeadersGenerated; std::vector<std::string> SourcesGenerated; - } MocUic; - // Moc + } AutogenTarget; + + /// @brief Moc only variables struct { bool Enabled = false; @@ -127,7 +137,8 @@ private: std::map<std::string, std::string> ConfigDefines; std::string MocsCompilation; } Moc; - // Uic + + ///@brief Uic only variables struct { bool Enabled = false; @@ -139,7 +150,8 @@ private: std::vector<std::string> FileFiles; std::vector<std::vector<std::string>> FileOptions; } Uic; - // Rcc + + /// @brief Rcc only variables struct { bool Enabled = false; |