[CMake] How to force the configure step to start over

Diablo 666 thediablo666 at hotmail.de
Mon Nov 15 02:23:29 EST 2010


Hi,

> any ideas how to force it directly?

for our projects, I use a variable called RESET_CACHE as a standard.
Every FOOConfig.cmake, FindFoo.cmake, ... uses this variable to force
resetting a lot of cache variables. So it suffices for a project to include
this variable.

Anyway, this does not help resetting variables from outside projects. In this
case I call my old friend rm -rf to the build directory :-)

Best regards,
Andreas

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101115/8954f81d/attachment.htm>


More information about the CMake mailing list