>
By default, when using <debug-symbols>on/<debug-store>database (msvc compiler option /Zi) for external debug databases,
This is pretty interesting. I never used "<debug-store>database" option yet I was always getting correctly named PDB files. I guess this is because when debug symbols are enabled via just "<debug-symbols>on", the compiler gets "/Z7" option. I.e. it adds debug information to the .obj file itself. Once it is done the linker is able to generate correctly named .PDB file.
Is there any particular reason why you need /Zi to be used and not /Z7? Are you doing something special?
--
Best regards,
Alexey Pakhunov.