[CMake] Patch: Add NO_CACHE option to find_xxx commands

Miguel A. Figueroa-Villanueva miguelf at ieee.org
Mon Jul 7 09:23:53 EDT 2008


On Mon, Jul 7, 2008 at 2:04 AM, Enrico Scholz wrote:
> "Miguel A. Figueroa-Villanueva" writes:
>> I would like to propose the addition of a NO_CACHE keyword to the
>> find_xxx commands that would treat <VAR> as a non-cached variable.
>
> Better wolution would be the equivalent of autoconf's './config.status
> --recheck', e.g. reinvoking cmake with empty cache but with original
> configuration options.

This is not what we want. We want to keep the cache variables since
the user might have changed it in the gui.

We just want some variables not to go into the cache (and hence not be
presented in the gui), but they automatically make it to the cache
because they are used in the find_xxx set of commands.

Thanks for commenting,
--Miguel


More information about the CMake mailing list