[CMake] DLL and EXE with same base name: clash in VS.

Alexey Livshits livchits at web.de
Wed Apr 6 03:21:11 EDT 2011


> We have a clang.exe and a clang.dll. While building, VS creates
> clang.pdb (for the executable) and clang.pdb (for the dll) which
> obviously is not right. Is there a way to tell VS to use a different
> name for the PDB?

You can use different project name for exe and set the output name via
OUTPUT_NAME property.
-- 
BG,
Alexey


More information about the CMake mailing list