[CMake] Xcode C++ linking

Robert Bielik robert.bielik at xponaut.se
Wed Mar 2 04:05:42 EST 2011


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 LINK_FLAGS_RELEASE. The linking in itself worked fine when changed directly in Xcode.

Regards,
/Rob


More information about the CMake mailing list