[CMake] target DEPENDS are ignored if the target is also used for the COMMAND

Brad King brad.king at kitware.com
Tue Oct 27 14:01:49 EDT 2009


Alan W. Irwin wrote:
> cmake version 2.6-patch 4;
> 
> Unix Makefiles;
> 
> Linux (Debian stable with bootstrap build of CMake-2.6.4);
> 
> What's the easiest way to try the "generator" test here (for Unix
> Makefiles)
> so we are doing exactly the same test?

Get a CMake 2.6 source tree.  Then run

$ cd cmake-2.6.4/Tests/BuildDepends
$ mkdir b && cd b
$ cmake ..

The whole test runs during the configuration step, so there is no
need to type make.

-Brad


More information about the CMake mailing list