swig dependency parsing broken
The MR !354 (merged) introduced automatic dependency scanning for swig interface definition files (.i-files). This works fine as long as no dependee files are removed.
Removing such a file breaks the incremental build. This is exactly #16830, but now the problem is no longer under users CMakeLists.txt
control but inside the module UseSWIG.cmake
deployed with cmake.
The approach suggested by @brad.king in the above mentioned issue works fine, but has to go inside the UseSWIG.cmake module, of course.
I can file a MR but as I'm new here I don't know if to base it on the master- or release-branch, as this is more a bugfix then a feature.