[Cmake] separate compiling and linking

Andy Cedilnik andy.cedilnik at kitware.com
Tue, 27 Apr 2004 12:04:38 -0400


Hi Iker,

Why don't you just create a dummy library which you then not link to
anything?

			Andy

On Tue, 2004-04-27 at 11:33, Iker Arizmendi wrote:
> How does one create the .o files to
> begin with? Is there a separate command like
> 
>    ADD_OBJECT(source.o source.cpp)
> 
> that I can use to generate object files
> portably? Or is there a need to create a
> "dummy" target (a library or exe) that will
> generate them?