[CMake] Produce only an object file (*.o) from a CMake build target

Andreas Pakulat apaku at gmx.de
Mon Jan 24 14:33:18 EST 2011


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.

Andreas

-- 
You will be run over by a beer truck.


More information about the CMake mailing list