[CMake] object file questuon

Michael Hertling mhertling at online.de
Thu Nov 11 07:09:40 EST 2010


On 11/11/2010 01:52 PM, luxInteg wrote:
> I am learning cmake
> 
> (in gnu Makefiles it is possible to specifiy the name of the object file. )
> 
> I.E.   if I have a  file   file1.c and I want to  generate two object files
> file1.o  and file1a.o   
> 
> -is this possible in cmake  and if so how so?

FYI: <http://www.cmake.org/pipermail/cmake/2010-September/039626.html>

Copy file1.c to file1a.c or link file1a.c to file1.c, respectively, and
proceed as usual, but first of all, think about Michael W.'s question.

Regards,

Michael H.


More information about the CMake mailing list