[CMake] What changes to the cache file, if any, will trigger a rerun of CMake?

Marcel Loose loose at astron.nl
Wed Sep 23 09:02:31 EDT 2009


Hi all,

I tried to figure this out by browsing the docs and the mailing lists,
but failed.

What changes to the cache file (CMakeCache.txt) will trigger a rerun of
CMake. AFAIK changes to CMAKE_<LANG>_COMPILER will do this, but are
there other situations?

My reason for asking this is that I was wondering whether it is possible
to force a re-run of CMake when one or more OPTION variables are changed
in the cache *during* a CMake run.

Best regards,
Marcel Loose.






More information about the CMake mailing list