Closed twiggler closed 6 years ago
I also noticed that.
There are many reasons why this might happen, but most probably it is because msbuild
implies program database file to be $(IntDir)vc$(PlatformToolsetVersion).pdb
(for example, Debug\vc141.pdb
).
But when compiling with LLVM toolset, for some reason, something that looks more like $(OutDir)$(ProjectName).pdb gets generated.
Try setting pdb path as on this picture:
If this will not help, it is easy to debug it with procmon.
Indeed
Forcing recompile of all source files due to missing PDB "obj/v141/x64/Release/vc141.pdb"
Hey, Did you also experience clang recompiling all translation units on every build, even when only a few are outdated? If so, did you find a resolution?