[Cmake] cmake/nmake/VC6.0/VXL

Bill Hoffman bill.hoffman at kitware.com
Tue Mar 19 13:52:04 EST 2002


Usually, the cause of that is an unstable cache file.   
If the cache file changes, cmake re-runs from the top automatically.
It is sometimes possible to write cmakelist files that change the
cache each time.   To debug this I would go to the top level directory,
and do a make rebuild_cache, then make a copy of CMakeCache.txt, then run
nmake.   If you see it running again from the top, then diff the CMakeCache.txt
file with the backup and try to figure out what changed.
Most of the time it is not possible to change the cache from a cmakelist file, so
this is not a problem.


-Bill


At 01:23 PM 3/19/2002 -0500, Wheeler, Fred (CRD) wrote:
>When I use cmake to compile VXL using nmake and VC6.0 in cygwin, cmake is rerun at the top level and
>recreates every Makefile every time the build enters a new directory.  Is this expected behavior?
>
>Thanks,
>Fred Wheeler
>_______________________________________________
>Cmake mailing list
>Cmake at public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake 




More information about the CMake mailing list