CMake clean target is not cleaning .pdb file (debug symbols)

Cmake clean target is not cleaning .pdb files generated by compiler in debug build. Its only deleting .exe targets from CMAKE_RUNTIME_OUTPUT_DIRECTORY directory. How can we delete .pdb file also as part of cmake clean target?

Any help would be greatly appreciated.

It looks like this is not handled right now. There’s an issue asking for it to be done in Ninja generators, but I suppose it’s missing from all of them.

Hmm… Thats sad :frowning: