On Jan 13, 2011, at 12:41 PM, Bill Hoffman wrote:
> This is because Xcode provides no way to order static libraries as far as I 
> can tell, or to repeat them.   Also, no way to depend on a static library or 
> a file directly, forcing the makefile usage.  This may have changed, so, if 
> you can so native Xcode projects that can do the following we can change 
> cmake:
> 
> - have a static library show up more than once on a link line
This is unnecessary.  Unlike most unix linkers, the Xcode linker repeatedly 
iterators over all archives on the command line.  You never need to add the 
same archive more than once on the command line.


> - be able to specify the order of static libraries on the link line
The order that the libraries appear in the PBXFrameworksBuildPhase is the order 
that they are passed to the linker.


> - be able to relink an executable when a static library that it depends on is 
> rebuilt.
This is normal behavior for the Xccde build system.  If one target depends on 
the product of another target, the build system follows the chain and builds 
everything needed for the target requested to be built.

-Nick


_______________________________________________
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