Potential regression?: CMake + SWIG not detecting C++ headers as dependencies

https://gitlab.kitware.com/cmake/cmake/-/issues/4147

Brad commented:

!354 (merged) contains a solution that works for Makefile generators but not other generators.

Well it looks to me that it acutally does not even work consistently for Makefile generators (see my previous posts and Marc’s answer).

I would just like to know if trying to re-implement the initial patch from 2006 (with ignore-missing added) is time-worthy for CMake maintainers, or the current state is how it should work and I just should not waste your time anymore (hey, at least I have a workaround!).

Another question is if, at least temporarily, all of this information should be added somewhere to the documentation, so other people that find themselves in my shoes don’t have to do this research all over again. :wink: