[Cmake] CMake Configuration Problem

Andy Cedilnik andy.cedilnik at kitware.com
Tue, 16 Mar 2004 12:06:42 -0500


Hi Richard,

Since I do not have enough information, it is a bit hard for me to
answer. The simples answer, though, is that since CMake is fairly
powerful scripting language, you can have bad input files or good input
files. So, it is possible to write CMakeLists.txt files that will work
in source but not out of source and the other way around.

		Andy

On Tue, 2004-03-16 at 11:52, Richard Wackerbarth wrote:
> I've run into a slight problem with the build configuration.
> 
> Being new to this system, I did a cvs checkout of CMake and Dart.
> After getting the other (minimal set of) tools in place, I tried to
> build CMake in place.
> I did
> 
> cd ......./CMake
> ./configure
> make
> make install
> 
> and everything seemed to go OK.
> 
> Then I started messing with Dart.
> I got it running without too much difficulty.
> 
> However,
> 
> make Experimental
> 
> caused 3 failures.
> 
> Since then, I cleared everything out and tried a different approach.
> 
> The difference was that I did the configure in another folder outside 
> the CMake source tree.
> 
> cd ......./Cmake
> 
> cd ../BuildThemHere/CMake
> ../../CMake/configure
> 
> etc.
> 
> It made the failures disappear.
> 
> So, is it supposed to be illegal to have the binary tree mixed with the 
> source or is there a failure in the build system?