Commit 2d6cfe26 authored by Sebastian Holtermann's avatar Sebastian Holtermann
Browse files

Autogen: Split initializer main method

parent 84bdae88
This diff is collapsed.
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include <vector> #include <vector>
class cmGeneratorTarget; class cmGeneratorTarget;
class cmTarget;
/// @brief Initializes the QtAutoGen generators /// @brief Initializes the QtAutoGen generators
class cmQtAutoGenInitializer : public cmQtAutoGen class cmQtAutoGenInitializer : public cmQtAutoGen
...@@ -38,6 +39,7 @@ public: ...@@ -38,6 +39,7 @@ public:
std::string PathChecksum; std::string PathChecksum;
std::string InfoFile; std::string InfoFile;
std::string SettingsFile; std::string SettingsFile;
std::map<std::string, std::string> ConfigSettingsFile;
std::string RccFile; std::string RccFile;
bool Generated; bool Generated;
bool Unique; bool Unique;
...@@ -54,9 +56,13 @@ public: ...@@ -54,9 +56,13 @@ public:
bool SetupCustomTargets(); bool SetupCustomTargets();
private: private:
bool InitCustomTargetsMoc(); bool InitMoc();
bool InitCustomTargetsUic(); bool InitUic();
bool InitCustomTargetsRcc(); bool InitRcc();
bool InitScanFiles();
bool InitAutogenTarget();
bool InitRccTargets();
bool SetupWriteAutogenInfo(); bool SetupWriteAutogenInfo();
bool SetupWriteRccInfo(); bool SetupWriteRccInfo();
...@@ -90,15 +96,24 @@ private: ...@@ -90,15 +96,24 @@ private:
std::string AutogenFolder; std::string AutogenFolder;
std::string AutogenInfoFile; std::string AutogenInfoFile;
std::string AutogenSettingsFile; std::string AutogenSettingsFile;
std::map<std::string, std::string> AutogenConfigSettingsFile;
std::set<std::string> AutogenDependFiles;
std::set<cmTarget*> AutogenDependTargets;
// Directories // Directories
std::string DirInfo; std::string DirInfo;
std::string DirBuild; std::string DirBuild;
std::string DirWork; std::string DirWork;
std::string DirInclude; std::string DirInclude;
std::map<std::string, std::string> DirConfigInclude; std::map<std::string, std::string> DirConfigInclude;
// Moc and UIC
// Sources // Sources
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> SourcesGenerated;
} MocUic;
// Moc // Moc
struct struct
{ {
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