target to call "autogen" without compiling only for AUTOMOC and AUTOUIC
We want to use clazy-standalone [1] with the JSON compilation database on CI. Since it won't start compilation of the sources for this static analysis the moc and ui files won't be generated at all. This leads to a "file not found" error while analysing files with #include "moc_" and #include "ui_".
It would help a lot if there is a target to generate all AUTOMOC/AUTOUIC files without compiling any sources. Maybe something like "make autogen".
We use this as a work-around on shell script:
find -iname *autogen.dir* | xargs -P 4 -i cmake -E cmake_autogen {} DEBUG