diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2018-08-03 10:55:50 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2018-08-03 10:55:50 (GMT) |
commit | 87e7904c915976456028fcd834bdea9bf07b47fd (patch) | |
tree | 534bbb77a4163b6cb090c2e2cac89f3eb7fd9147 /Source/cmGlobalGenerator.h | |
parent | ce309b624aaa756c802a3dfc581c410578f77d3b (diff) | |
download | CMake-87e7904c915976456028fcd834bdea9bf07b47fd.zip CMake-87e7904c915976456028fcd834bdea9bf07b47fd.tar.gz CMake-87e7904c915976456028fcd834bdea9bf07b47fd.tar.bz2 |
Autogen: Use a single AUTOGEN setup function in cmGlobalGenerator
By moving all AUTOGEN setup code in ``cmGlobalGenerator``
into a single ``cmGlobalGenerator::QtAutoGen`` function, the
``cmGlobalGenerator::Compute`` function becomes cleaner.
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r-- | Source/cmGlobalGenerator.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index a50cc3b..e0b97d2 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -33,7 +33,6 @@ class cmLinkLineComputer; class cmLocalGenerator; class cmMakefile; class cmOutputConverter; -class cmQtAutoGenInitializer; class cmSourceFile; class cmStateDirectory; class cmake; @@ -441,9 +440,9 @@ protected: virtual bool CheckALLOW_DUPLICATE_CUSTOM_TARGETS() const; - // Qt auto generators - std::vector<std::unique_ptr<cmQtAutoGenInitializer>> - CreateQtAutoGenInitializers(); + /// @brief Qt AUTOMOC/UIC/RCC target generation + /// @return true on success + bool QtAutoGen(); std::string SelectMakeProgram(const std::string& makeProgram, const std::string& makeDefault = "") const; |