Hello,

I am using cmake on a Qt project and we're using google-breakpad for crash reporting. Therefore I am making release builds with debug information which are extracted later by the breakpad tools. Works fine, but I still have one problem on linux. On packaging the debug information are only stripped from the binaries, but not from the project-internal shared libraries (which are also targets of the project). I am using "set(CPACK_STRIP_FILES ON)".

The only solution I found is to include 2 post-build commands:

1.) if release-build-for-customers: run the breakpad tools
2.) if release-build-for-customers: strip all symbols

But this would require some more steps to the whole build process and perhaps there is a easier way to get rid of the symbols.

Regards,
  Stefan

--
Stefan Peters
Verified Systems International GmbH
Am Fallturm 1 (Eingang E, 3. OG)
28359 Bremen, Germany
--

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

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

Reply via email to