caching behavior

Alexander Neundorf neundorf at kde.org
Mon Nov 30 18:26:39 CET 2009


On Friday 27 November 2009, David Faure wrote:
> On Tuesday 17 November 2009, you wrote:
> > Well, it's for adjusting the build to your liking if there are more
> >  options  than what you'd like to enter on the command line. Then these
> >  settings should be kept.
> > We are discussing the case that the cache has been removed and how to get
> >  to  the same results again, right ?
> > Actually I'd really recommend to not remove the cache, but use cmake-gui
> > (or "make edit_cache") and just remove what you want to have removed. If
> > there are issues with cmake-gui, or something which makes it inconvenient
> >  for  you to use, please report it in the cmake bug tracker.
>
> I just had another problem due to this cmake misbehavior.
> I edited the cache file to change the path to gcc. After doing that, I
> typed make, and cmake realized I had changed the compiler and re-configured
> everything, including... losing my install prefix!

Yes.
The compiler is the one thing which must not be changed in an existing 
buildtree, since this voids basically the results of all tests.

I cannot change this, please go with this to cmake at cmake.org or the cmake 
bugtracker http://public.kitware.com/Bug

Alex




More information about the Kde-buildsystem mailing list