Commit 1d87c9f3 authored by Sebastian Holtermann's avatar Sebastian Holtermann
Browse files

Autogen: Initializer: Group variables in structs

parent cd8b094d
This diff is collapsed.
...@@ -82,39 +82,49 @@ private: ...@@ -82,39 +82,49 @@ private:
private: private:
cmGeneratorTarget* Target; cmGeneratorTarget* Target;
bool MultiConfig = false;
// Qt // Qt
std::string QtVersionMajor; std::string QtVersionMajor;
std::string QtVersionMinor; std::string QtVersionMinor;
// Configurations
// Configuration
bool MultiConfig = false;
std::string ConfigDefault; std::string ConfigDefault;
std::vector<std::string> ConfigsList; std::vector<std::string> ConfigsList;
std::string Parallel;
std::string Verbosity; std::string Verbosity;
// Names std::string TargetsFolder;
std::string AutogenTargetName;
std::string AutogenFolder; /// @brief Common directories
std::string AutogenInfoFile; struct
std::string AutogenSettingsFile; {
std::map<std::string, std::string> AutogenConfigSettingsFile; std::string Info;
std::set<std::string> AutogenDependFiles; std::string Build;
std::set<cmTarget*> AutogenDependTargets; std::string Work;
// Directories std::string Include;
std::string DirInfo; std::map<std::string, std::string> ConfigInclude;
std::string DirBuild; } Dir;
std::string DirWork;
std::string DirInclude; /// @brief Autogen target variables
std::map<std::string, std::string> DirConfigInclude;
// Moc and UIC
struct 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> Headers;
std::vector<std::string> Sources; std::vector<std::string> Sources;
std::vector<std::string> HeadersGenerated; std::vector<std::string> HeadersGenerated;
std::vector<std::string> SourcesGenerated; std::vector<std::string> SourcesGenerated;
} MocUic; } AutogenTarget;
// Moc
/// @brief Moc only variables
struct struct
{ {
bool Enabled = false; bool Enabled = false;
...@@ -127,7 +137,8 @@ private: ...@@ -127,7 +137,8 @@ private:
std::map<std::string, std::string> ConfigDefines; std::map<std::string, std::string> ConfigDefines;
std::string MocsCompilation; std::string MocsCompilation;
} Moc; } Moc;
// Uic
///@brief Uic only variables
struct struct
{ {
bool Enabled = false; bool Enabled = false;
...@@ -139,7 +150,8 @@ private: ...@@ -139,7 +150,8 @@ private:
std::vector<std::string> FileFiles; std::vector<std::string> FileFiles;
std::vector<std::vector<std::string>> FileOptions; std::vector<std::vector<std::string>> FileOptions;
} Uic; } Uic;
// Rcc
/// @brief Rcc only variables
struct struct
{ {
bool Enabled = false; bool Enabled = false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment