[CMake] changing object file extension from ".o"

Matthew McCormick matthew.m.mccormick at gmail.com
Wed Nov 7 14:47:22 EST 2007


Hi,

Having difficulty changing the object file extension.  In my
CMakeLists.txtI have

SET(CMAKE_C_OUTPUT_EXTENSION ".obj")
SET(CMAKE_CXX_OUTPUT_EXTENSION ".obj")

but I still get *.o object files.

I am working with cmake version 2.4-patch 7 on Cygwin.

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20071107/7f8d8351/attachment.htm


More information about the CMake mailing list