On Mon, Jan 24, 2011 at 2:33 PM, Andreas Pakulat <ap...@gmx.de> wrote:
> On 24.01.11 09:37:01, Helseth, Nicholas H wrote: > > I'm trying to build an object file using CMake, but I can't seem to > > get CMake to build something other than a complete executable. I'm > > basically looking for the result of the following compilation (the > > result will be loaded on a VxWorks target and linked then-it needs to > > be a *.o because of the way our build system works): > > You can't do this with cmake. > > But you can do anything you want with custom commands in CMake. It just might not be very easy or very cross-platform. Why do you need the *.o files individually? Could you instead build a static library with CMake, and then use a custom command to glob for the *.o files produced?
_______________________________________________ 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