[CMake] Install PDB files
Rolf Eike Beer
eike at sf-mail.de
Wed Jul 7 13:43:54 EDT 2010
Am Wednesday 07 July 2010 schrieb Patrick Spendrin:
> Hello everybody,
>
> we're currently thinking about setting up a symbol server for our
> project, and cannot find out how to install the pdb file together with
> the install command (or in another way).
>
> Did somebody do this already? Is there only the way to fetch the pdb
> files by hand?
We have currently an ugly macro that searches for the PDB in all possible
places (e.g. foo for NMake, foo/Release, foo/Debug, foo/RelWithDebInfo, and
foo/MinSizeRel for MSVC) and installs them. To make a long story short: this
sucks.
When someone adds this please keep in mind that gcc also has the possibility
to strip the debugging symbols of an object to a different file. This should be
taken care of here, too.
I propose an option to the install command, something like:
INSTALL(TARGET foo
ARCHIVE lib
RUNTIME bin
LIBRARY lib
DEBUG_SYMBOLS dbg
)
Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100707/44e86ec5/attachment.pgp>
More information about the CMake
mailing list