[cmake-developers] set(CACHE) and the local scope

Ben Boeckel ben.boeckel at kitware.com
Fri Dec 11 16:17:18 EST 2015


On Fri, Dec 11, 2015 at 22:13:46 +0100, Alexander Neundorf wrote:
> On Friday, December 11, 2015 14:44:39 Ben Boeckel wrote:
> ...
> > Option 3:
> > 
> >     set(CACHE) (and any other cache-touching behavior) does *nothing*
> >     with the cache if a local variable by that name is defined
> 
> just to clarify: and also does nothing to the local variable ?

Correct.

--Ben


More information about the cmake-developers mailing list