[Insight-developers] using CMake for multi-source executables

Luis Ibanez ibanez@cs.unc.edu
Thu, 22 Feb 2001 02:50:25 -0500


Hi,

I'm trying to build an executable with
multiple source files using CMake.
But I'm missing something...

----

The command

EXECUTABLES(  mmm )

expects the files mmm.h and  mmm.cxx to exist.
that's ok (I just give up the main.cpp for mmm.cxx )

I tryed putting the other sources on the
command SOURCE_FILES() but they seems to
be ignored...

What's the right way to specify a set of source
files for building a common executable ?

Thanks

Luis