[Cmake] (no subject)

Neil Killeen Neil.Killeen at atnf.csiro.au
Sun Mar 16 22:24:37 EST 2003


Hi all

I am generating a s/w system with a directory structure along the lines of

Source
  Code
    Modules
      Module1
        Test
      Module2
        Test
    Applications
      App1
      App2
  Documentation


Output
  Binary
    linux
      bin
      lib
    sun4sol
  Scripts
  Docs



1) I like to put Test under the class implementation, rather
than have a whole parallel Testing directory (e.g. like in ITK).

The trouble is that Cmake seems to like to make recurseive
makefiles.  What I'd like is make files in Module1 and Module1/Test
but not that the latter gets built wheneveer the former is built.
I.e. the programmer drops into Test when ready.   If I don't
use the SUBDIRS CMake command, no makefiles at all get
build in Test...

How do I do this with cmake ?


2)  In Source/Documentation there will be all sorts; HTML, LateX etc. The
built output needs to go in OUtput/Docs.

CMake only seems to make C++/C makefiles.  Is there a way to
put other compilation types into it (e.g.  Latex, Latex2html etc) ?


thanks
Neil






More information about the CMake mailing list