[Cmake] Cmake flexibility
Neil Killeen
Neil.Killeen at atnf.csiro.au
Tue Mar 18 21:38:39 EST 2003
Hello all
I posted this message a few days ago, but with no response (which
was the fate of my previous post, now that I think about it :-( ).
Could someone comment please ? I don't think there is anything
difficult/subtle in this.
thanks
Neil
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
1) I have put Test (i.e. where the test programs and scripts go) 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) ?
Or does one simply have to write your own build scripts for
these types of documents.
More information about the CMake
mailing list