[CMake] cache variables from compiler checks

Clinton Stimpson clinton at elemtech.com
Thu Oct 16 16:36:12 EDT 2014


I noticed something odd...

If I delete the cache variable CMAKE_STRIP, then re-run cmake, it doesn't come 
back.
If I delete the build/CMakeFiles directory, re-run cmake, it'll come back.

Is that intentional?

I have a dashboard build where I was re-configuring with a different initial 
CMakeCache.txt file, and some of the variables don't come back.  Looks like 
I'll also need to remove the CMakeFiles directory while I write the 
CMakeLists.txt file.

Clint


More information about the CMake mailing list