Hi,

>-----Original Message-----
>From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf
>Of Marcel Loose

>The downside to this solution is that you have duplicates of the object
>files that are part of common, but that's the price you'll have to pay
>if you want to have just one static library.
>
>HTH,
>Marcel Loose.


I think at least for Linux and Unices this gets solved when linking the final 
executable. Stuff in an archive (static library for you AIX users) that is not 
referenced evaporates.

It's also need for fast linking. You just create a link line that creates an 
executable based on one or more objects files in front of an archive. The 
symbols in the object file take precedence, which can make incremental builds 
really fast. This last bit is where cmake is much slower than my original build 
system, but arguably more safe.

Regards,
Arjen
_______________________________________________
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