feature request: reduce noise in gcc/clang/clazy for auto moc-ed and uic-ed files using -isystem instead of -I
Using CMake with Qt and the
AUTO_UIC features creates
ui_XXX.h files in separate directories of the build tree. Those directories are than passed as
-I include directories to the compiler. This works perfectly as expected.
Now using clazy as a compiler (https://github.com/KDE/clazy) to find code-smells in the Qt usage this becomes bit of a problem, as clazy reports smells for those automatically generated files as well. According to https://github.com/KDE/clazy#reducing-warning-noise one can suppress reports from these generated files by passing the generated directory as
-isystem instead of
Is it possible to change this behavior and favor
-I for GCC/clang compatible compilers?