On 03/02/2011 09:05 AM, Robert Bielik wrote:
> Hi,
> 
> I'm trying to set Xcode to have static linking to the C++ standard
> libary, but I don't know how to. Also, Xcode mention that
> to make this work reliably, "Symbols hidden by default" must be enabled.
> 
> Tips ? :)
> 
> TIA
> /Rob

Probably this means to add -fvisibility=hidden and -static. However,
-static will cause you to link everything statically, which will fail if
you pass a dynamic library to target_link_libraries().

Michael
_______________________________________________
Powered by www.kitware.com

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

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

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

Reply via email to