[Cmake] separate compiling and linking

William A. Hoffman billlist at nycap.rr.com
Tue, 27 Apr 2004 07:56:59 -0400


As long as you made sure to use the ADD_DEPENDENCY command between
libraries, it should work.  You may want to try it with cvs cmake and
let us know if it does work.


-Bill


At 10:15 PM 4/26/2004, Iker Arizmendi wrote:
>Sorry, what I meant to ask is how would this
>feature be used? If its something like so:
>
>   ADD_LIBRARY(mylib source1.cpp source2.o)
>
>that still leaves open the question of how to
>generate source2.o. Wouldn't this require
>additional keyword support to generate
>standalone object files?
>
>Iker
>
>
>William A. Hoffman wrote:
>>>
>>>P.S.
>>>What's the syntax for adding .o files under
>>>CVS Cmake?
>>
>>Same as adding a .c or .cpp file.
>>
>>-Bill
>
>-- 
>Iker Arizmendi
>AT&T Labs - Research
>Speech and Image Processing Lab
>e: iker at research.att.com
>w: http://research.att.com
>