[CMake] How to get stripped Release builds?

Martin Wodok m.wodok at osb-ag.de
Mon Aug 2 11:58:38 EDT 2010


Hello all,

I'm new to CMake, but have of course already searched for a solution on
the web. I often found the info that CMake doesn't strip the binaries,
but no solution to that.
So is there a way to get the Release (and not the debug) build to
produce a stripped binary (under Linux when the Makefile generator is
being used)?

I know there's something about stripping with CPack, but I'm not using
CPack, only CMake...

Thanks for any help/hints,
Martin

PS: I hope the mail won't appear in the mailing-list more than once, if so, sorry for that.

-- 
Mit freundlichen Grüßen / Kind regards

Martin Wodok
Competence Center Off-road Control Systems (CC OCS)

OSB AG
Schwanthaler Strasse 69
D-80336 München

Tel. : +49 (0) 89 / 23 88 57 - 548
Fax : +49 (0) 89 / 23 88 57 - 400

www.osb-ag.de
www.isoaglib.com
www.vt-designer.com




------------------------------------------------------------------------------------------------------------------------------------------

OSB AG

Vorstand: Denis Sisic (Vors.), Frank Oestmann, Michael Witte
Vors. des Aufsichtsrates: Robert Strassmeir

Sitz der Gesellschaft: München
Amtsgericht München HRB 147 160

Diese Mitteilung ist ausschließlich für den beabsichtigten Empfänger bestimmt. Sie kann Betriebs- oder Geschäftsgeheimnisse oder sonstige vertrauliche Informationen enthalten. Jede(r) unberechtigte Gebrauch, Kopie, Weitergabe oder Veröffentlichung ist untersagt. Sollten Sie diese E-Mail irrtümlich erhalten haben, benachrichtigen Sie uns bitte sofort durch Antwortmail und löschen Sie diese E-Mail nebst etwaigen Anlagen und einschließlich aller angefertigten Kopien von Ihrem System.

This message is for the sole use of the intended recipient(s) and may contain trade secrets or other confidential and privileged information. Any unauthorized review, use, copy, disclosure or distribution is prohibited. If you are not the intended recipient, please inform us immediately by reply e-mail and delete this message including any attachment or copies thereof from your system.


More information about the CMake mailing list