[Cmake] Force re-run of CMake from within CMake?

Amitha Perera perera at cs . rpi . edu
Fri, 31 Oct 2003 14:29:26 -0500


Hi all

Is there a way to force CMake to re-run itself from within a
CMakeLists.txt file?

The VXL project auto-determines a bunch of configuration options based
on TRY_COMPILE and TRY_RUN tests. If the source for these tests is
modified, I want to force CMake to re-run those tests, ignoring the
cached values.

Thanks,
Amitha.