[vtk-developers] Build system modification.

Brad King brad.king at kitware.com
Thu Dec 5 11:15:10 EST 2002


Hello, all:

I have just committed a change to VTK's CMakeLists.txt files that will
cause UNIX users to get an error when "make" is typed in an existing build
tree.  The error will say something about no rule to make
"GenerateVTKConfig.cmake".  Just re-run cmake by hand:

$ cd $VTK_BUILD
$ cmake $VTK_SOURCE

Then running "make" will not get that error.

For those interested, the problem is that your Makefile contains a
dependency on all the CMake files that were used to generate it.  This
way, the Makefile will be regenerated if one of the CMake files changes.
One of these files has been removed, so make will complain that it cannot
be found.  Running cmake by hand will re-generate the Makefile without the
stray dependency.

-Brad




More information about the vtk-developers mailing list