[CMake] PDB generation
Brad King
brad.king at kitware.com
Thu May 22 08:36:47 EDT 2014
On 05/21/2014 12:21 PM, Scott Aron Bloom wrote:
> Is there any hope chance of bringing this back?
This capability has already been restored in development versions here:
MSVC: Add properties to configure compiler PDB files
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0ea3aee8
http://www.cmake.org/Bug/view.php?id=14763
The key is to distinguish compiler-generated and linker-generated
PDB files. Static libraries need the former and shared libraries
need the latter. The above commit adds options to configure the
location of the compiler-generated PDB file.
This will be in CMake 3.1. You can try nightly binaries here:
http://www.cmake.org/files/dev/?C=M;O=D
Meanwhile with CMake 2.8.12.2 and 3.0 you can add the /Fd flag and
the VS generators will map it to the proper option:
VS: Map /Fd to ProgramDataBaseFileName for VS 7,8,9
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=bf1db496
http://www.cmake.org/Bug/view.php?id=14577
-Brad
More information about the CMake
mailing list