[CMake] CPack Stripping Debug

Bill Hoffman bill.hoffman at kitware.com
Thu Jul 31 14:47:10 EDT 2008


Paul Hatfield wrote:
> When compiling a binary with CMAKE_BUILD_TYPE as RelWithDebInfo, I 
> verify that the binary has debug symbols, but when I generate an rpm 
> using Cpack the debug symbols are lost.  What's causing this?
> 
rpm automatically runs strip on executables.  It is not cmake doing this 
but rather the rpm tools.

-Bill


More information about the CMake mailing list