summaryrefslogtreecommitdiff
path: root/Source/cmQtAutoGenGlobalInitializer.h
Commit message (Collapse)AuthorAgeFilesLines
* Autogen: Evaluate compiler features for the same exectuable only onceSebastian Holtermann2019-05-221-4/+7
| | | | | | | To speed up the `AUTOGEN` configuration process, evaluate the compiler features only once. The feature evaluation result is stored in the new class `cmQtAutoGen::CompilerFeatures`, and the instance is shared by using `std::shared_ptr`.
* Autogen: Add more frequently used keywords to Keywords classSebastian Holtermann2019-04-021-0/+11
|
* Autogen: Add `AUTO*_EXECUTABLE` strings to Keywords classSebastian Holtermann2019-04-021-0/+4
|
* Autogen: Remove static const generator name strings from cmQtAutoGenSebastian Holtermann2019-04-021-2/+2
|
* Autogen: Add cmQtAutogenGlobalInitializer::Keywords classSebastian Holtermann2019-04-021-0/+15
| | | | | | | | The new `cmQtAutogenGlobalInitializer::Keywords` class instance is bound to the lifetime of the `cmQtAutogenGlobalInitializer` instance. Global static const strings would be allocated at program start and deallocated at program end. Keeping keyword strings alive only in the context where they're needed helps to reduce the memory footprint.
* Autogen: Add output caching GetExecutableTestOutputSebastian Holtermann2019-02-191-0/+6
| | | | | | This adds the cmQtAutoGenGlobalInitializer::GetExecutableTestOutput method which caches the output of the called executable and returns the cached value on any subsequent call.
* Autogen: Add support for global ``autogen`` and ``autorcc`` targetsSebastian Holtermann2018-11-111-1/+16
| | | | | | | | | | | | | | This teaches CMake the variables - CMAKE_GLOBAL_AUTOGEN_TARGET - CMAKE_GLOBAL_AUTOGEN_TARGET_NAME - CMAKE_GLOBAL_AUTORCC_TARGET - CMAKE_GLOBAL_AUTORCC_TARGET_NAME which control the generation of global ``autogen`` and ``autorcc`` targets. Closes #17721
* Autogen: Add cmQtAutoGenGlobalInitializer classSebastian Holtermann2018-11-111-0/+32
This moves the global ``AUTOMOC/UIC/RCC`` targets initializer generation code into a separate new ``cmQtAutoGenGlobalInitializer`` class.