[CMake] Xcode deployment postprocessing

Robert Bielik robert.bielik at xponaut.se
Mon Sep 5 05:26:34 EDT 2011


Johan Björk skrev 2011-09-05 09:28:
> I don't remember when the deployment stuff is executed in xcode. How do you package your product? If you are using cpack ,you can tell it to strip the binary before packaging it.

I haven't gotten that far yet, and besides I'm allergic to PackageMaker, specially since discovering Iceberg... ;)

But strip didn't do anything for me, as verified with nm. I had to add -fvisibility=hidden + -fvisibility-inlines-hidden. Then and only then I got what I wanted.

Regards,
/R


More information about the CMake mailing list