Hello, I'm working on a cross platform libc implementation that uses CMake for the building process. I've noticed that CMake doesn't currently support adding non linked or partially linked object files as a target. For example, I need to install a "runtime.o" object file which will provide runtime support for the library users. I've searched the CMake mailing list and I've found a question about partially linked object files (the poster had issues with circular references), in which the poster suggests, as a trick, creating a static library, then manually unpacking the archive and running the linker with the "relocatable" flag to build the partially linked object (which required knowledge of the archiver and linker argument parameters). I've not seen any further comment about this, however.
Are there any plans to add built-in, cross-platform support for defining object files as targets ? This is something some projects would benefit with. -- Henrique Dante de Almeida [email protected] _______________________________________________ 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
