Does adding `.natvis` files via target_sources work on Ninja?

Looking at the code, CMake literally only knows how to tell VS “this is a natvis file”. The IDE then takes that indication to do what is necessary; no other generator knows about it and will just ignore the file.

1 Like