Re: [CMake] Xcode C++ linking

2011-03-02 Thread Michael Wild
On 02.03.2011, at 18:20, Robert Bielik wrote: > Michael Jackson skrev 2011-03-02 18:14: >> In case you didn't happen to find this article: >> >> >> http://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/CppRuntimeEnv/Articles/LibCPPDeployment.html > > Thanks! Have a v

Re: [CMake] Xcode C++ linking

2011-03-02 Thread Michael Jackson
On Mar 2, 2011, at 12: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 I

Re: [CMake] Xcode C++ linking

2011-03-02 Thread Robert Bielik
Michael Jackson skrev 2011-03-02 18:14: In case you didn't happen to find this article: http://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/CppRuntimeEnv/Articles/LibCPPDeployment.html Thanks! Have a vague memory of having seen that page before. But it doesn't con

Re: [CMake] Xcode C++ linking

2011-03-02 Thread Michael Jackson
On Mar 2, 2011, at 1:12, Michael Wild wrote: > On 03/02/2011 10:05 AM, Robert Bielik wrote: >> Michael Wild skrev 2011-03-02 10:02: >>> 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

Re: [CMake] Xcode C++ linking

2011-03-02 Thread Michael Wild
On 03/02/2011 10:05 AM, Robert Bielik wrote: > Michael Wild skrev 2011-03-02 10:02: >> 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(). > > Ok,

Re: [CMake] Xcode C++ linking

2011-03-02 Thread Robert Bielik
Michael Wild skrev 2011-03-02 10:02: 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(). Ok, thanks, I'll try add this as target link properties in LI

Re: [CMake] Xcode C++ linking

2011-03-02 Thread Michael Wild
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

[CMake] Xcode C++ linking

2011-03-02 Thread Robert Bielik
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 ___ Powered by www.kitware.co