[CMake] CMakeSetup allows you to generate even though advanced variables have added or changed

Paul Smyth paul.smyth at vicon.com
Wed Apr 6 11:34:35 EDT 2005


Hi folks again,
I've just noticed (in 2.0.5) that if you tell the CmakeSetup GUI (in
windows) not to show advanced values, then the OK button will become
enabled if after a run of Configure, even though some advanced variables
have appeared. Also, if variables have changed at the last configure
run, OK can also become enabled.

I presume the first point at which the OK button should be enabled is
the point at which no cache variables (internal,advanced or
non-advanced) have been added/removed/changed in the last run of
configure, and therefore generation can safely occur.

I'm writing some Cmake stuff that makes big changes depending on the
values of cache vars at the previous iteration. I'm finding that the OK
button is enabled prematurely for my application.

Would it make sense to make the OK button-enabling much stricter, to
prevent premature generation? [I'm very happy to do it].

Cheers, Paul Smyth.

________________________________________________________________________
This e-mail, and any attachment, is confidential. If you have received it in error, do not use or disclose the information in any way, notify me immediately, and please delete it from your system.
________________________________________________________________________


More information about the CMake mailing list