summaryrefslogtreecommitdiffstats
path: root/.hooks-config
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-09-02 09:07:30 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-09-20 21:21:01 (GMT)
commit15346bec1930437cf9eb4fd32b6733790be2cc58 (patch)
treeebb33854a7b5b878cda0fb7c996b15b506c7576e /.hooks-config
parent95df03a1d44d48b5407dd0ddc9e618ce2f17762b (diff)
downloadCMake-15346bec1930437cf9eb4fd32b6733790be2cc58.zip
CMake-15346bec1930437cf9eb4fd32b6733790be2cc58.tar.gz
CMake-15346bec1930437cf9eb4fd32b6733790be2cc58.tar.bz2
Autogen: Refactor cmQtAutoGenerators
The refactoring of cmQtAutoGenerators serializes the program flow and makes it less jumpy in terms of function calling. Instead of keeping and passing multiple std::vectors and std::maps in function arguments, single lists with job descriptions are used, one job list for MOC, UIC, RCC respectively. Several utility functions and methods were replaced with scoped lambdas and the remaining methods were sorted by their scope (MOC, UIC, RCC). Error and warning messages were refactored to be more verbose about the problem at hand. The source parsing algorithms were rewritten in large parts. In the process a lack of functionality of CMAKE_AUTOMOC_DEPEND_FILTERS was discovered and fixed. CMAKE_AUTOMOC_DEPEND_FILTERS did not extract dependency file names from headers that were not in the target sources but were registered to AUTOMOC by a `#include "moc_<NAME>.cpp"` statement. A test for this use case is provided in a follow up commit.
Diffstat (limited to '.hooks-config')
0 files changed, 0 insertions, 0 deletions