Alexander Neundorf wrote: > We don't have that anymore, we just compile all the files directly into > one library.
But only in the dynamic way? > We didn't have any issues with this since then. > (it may be possible to hack something together with custom commands to > extract the object files from the ar archives and put them together into a > resulting ar file The code I posted is exactly doing that. But I dont see the way to add these objects to the resulting static library. > but I wouldn't recommend this) Why are you not recommending that? Static linkage has it advantages and use cases. Dynamic linkage is supported too of course. best regards Markus -- http://www.markus-raab.org | Den Wert eines Menschenlebens bestimmt -o) | nicht seine Länge, sondern seine Tiefe. Kernel 2.6.24-1-a /\ | -- Gustav Frenssen on a x86_64 _\_v | _______________________________________________ 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