On Wed, Sep 23, 2009 at 03:02:31PM +0200, Marcel Loose wrote:
> 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?

Don't all changes to the cache trigger a CMake rebuild?

> 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.

This sounds a little scary but I think I've seen CMake do this when I
edit a CMakeLists in the middle of a build on Linux. Other build systems
might have different ideas about when to check whether the
CMake-generated files are out of date, so this might only work on some
platforms.

tyler
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to