AUTOGEN: Mark auto generated files as external/system includes
I'm currently trying to integrate the MSVC static code analysis via CMake. This works so far, but unfortunately we can't handle some issues as errors because they are in Qt's auto-generated code. So I checked if I can mark these files somehow as external includes, but it I have no idea, how to access these target, which are created by AUTOMOC
, AUTOUIC
, ...
So it would be nice, if there would be a way to handle them as external/system includes. Not sure if this should be the default case, but a property like AUTOGEN_EXTERNAL_INCLUDE
could be a solution.