diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2018-07-22 14:09:18 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2018-07-30 07:22:47 (GMT) |
commit | 2d6cfe26770d8062081061f9dbcc4e3e6eaa0091 (patch) | |
tree | 356c54e7b5a37e41805f7aef0ebbbecfc8e7645a /Source/cmQtAutoGenInitializer.h | |
parent | 84bdae88950584663702be1cab3adf5d8069c58c (diff) | |
download | CMake-2d6cfe26770d8062081061f9dbcc4e3e6eaa0091.zip CMake-2d6cfe26770d8062081061f9dbcc4e3e6eaa0091.tar.gz CMake-2d6cfe26770d8062081061f9dbcc4e3e6eaa0091.tar.bz2 |
Autogen: Split initializer main method
Diffstat (limited to 'Source/cmQtAutoGenInitializer.h')
-rw-r--r-- | Source/cmQtAutoGenInitializer.h | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/Source/cmQtAutoGenInitializer.h b/Source/cmQtAutoGenInitializer.h index 6ade2ed..16f9cdd 100644 --- a/Source/cmQtAutoGenInitializer.h +++ b/Source/cmQtAutoGenInitializer.h @@ -12,6 +12,7 @@ #include <vector> class cmGeneratorTarget; +class cmTarget; /// @brief Initializes the QtAutoGen generators class cmQtAutoGenInitializer : public cmQtAutoGen @@ -38,6 +39,7 @@ public: std::string PathChecksum; std::string InfoFile; std::string SettingsFile; + std::map<std::string, std::string> ConfigSettingsFile; std::string RccFile; bool Generated; bool Unique; @@ -54,9 +56,13 @@ public: bool SetupCustomTargets(); private: - bool InitCustomTargetsMoc(); - bool InitCustomTargetsUic(); - bool InitCustomTargetsRcc(); + bool InitMoc(); + bool InitUic(); + bool InitRcc(); + + bool InitScanFiles(); + bool InitAutogenTarget(); + bool InitRccTargets(); bool SetupWriteAutogenInfo(); bool SetupWriteRccInfo(); @@ -90,15 +96,24 @@ private: 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; - // Sources - std::vector<std::string> Headers; - std::vector<std::string> Sources; + // Moc and UIC + struct + { + // Sources + std::vector<std::string> Headers; + std::vector<std::string> Sources; + std::vector<std::string> HeadersGenerated; + std::vector<std::string> SourcesGenerated; + } MocUic; // Moc struct { |