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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to