AUTOMOC: Use response ("options") files also for generating moc_predefs.h
With !7201 (merged) response files have been added for calling the moc compiler. For large Qt based projects with a lot of targets and propagated include directories, generating moc_predefs.h might fail due to the limit of the command line length (especially on Windows).
We could mitigate the problem by applying this local patch to CMake tophoo/cmake@83509781. We also had to reduce CommandLineLengthMax
to a value < 8000
, but we should verify if this is really necessary.
Edited by Brad King