I have a group of static archive libraries (.a libs) on Linux and because of
the way the linker does symbol resolution I need to use the
-Wl,--start-group and -Wl,--end-group linker options to group these
libraries.   These linker options tell the linker to continue searching the
libraries for symbols until all symbol resolution is accomplished.   On the
command line these options need to appear like the following(or some
equivalent variant thereof): -Wl,--start-group libA.a libB.a libC.a ...
-Wl,--end-group.   I can put something together with CMake that can
construct a custom command line to do this kind of thing, but I wanted to
check and see if someone knew a good way to make this happen with CMake
before I started.

Thanks,

Steve
_______________________________________________
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