[CMake] Fwd: Save stripped debugging information

Lukas Anzinger l.anzinger at gmail.com
Thu Sep 22 03:44:52 EDT 2011


Yeah, that's exactly what I had in mind. Any chance that we will see
this in a future release?

Meanwhile I will try to find a clean way to run objdump out of CMake manually.

On Thu, Sep 22, 2011 at 09:37, Rolf Eike Beer <eike at sf-mail.de> wrote:
> Sadly not. This is also annoying for e.g. MSVC builds where the debug
> infos are stored in an extra file (.pdb) anyway, but you have no good way
> to know the current location of the pdb file to install it.
>
> I would like to see this as a fourth option to INSTALL(TARGETS):
>
> INSTALL(TARGETS myexe mylib DEBUG_SYMBOLS /foo)
>
> This could just copy the pdb file on MSVC builds and do the objcopy magic
> in Un*x builds.
>
> Eike


More information about the CMake mailing list