warn users about removing only CMakeCache.txt
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I am trying to build a project which uses cmake and that queries CMAKE_EXECUTABLE_FORMAT
. The project has been building inconsistently for me, and I've tracked that down to CMAKE_EXECUTABLE_FORMAT
returning an incorrect result after I remove the CMakeCache.txt
file. (Before removing the cache, it returns a correct value of 'ELF'. After removing the cache, it returns an incorrect value of ''.)