On Thu, Feb 13, 2014 at 16:39:43 -0800, Nico Weber wrote:
> cmake does this, and I find it hurts more than it helps.
Hmm. I tend to reconfigure/regenerate a *lot*, so saving the pile of
options that I've modified (custom dependency locations, wrapping
support, install location, etc.) saves me *lots* of time.
> I often end up with a build directory where I'm not sure which
> settings I set at some point in the past, and there's no easy way
> (that I'm aware of) to say "just get me the default build, no matter
> what I did in the past". So I'm not sure if this part is a good idea.
If you want the sledgehammer approach, "rm CMakeCache.txt". If you want
the defaults, use ccmake or cmake-gui and delete all of the entries
there. It will regenerate using the default values and you might not
have to start the build from scratch.
--Ben