On Wednesday 13 May 2009, Marcel Loose wrote: > Hi all, > > I vaguely remember I read on this mailing list that it is possible to > check whether a variable is already in cache. Something like this: > > if(CACHED var) > ... > endif(CACHED var) > > However, I cannot find anything about this in the manual. > Is it possible, or does my memory serve me bad?
In doubt, check the sources: http://public.kitware.com/cgi-bin/viewcvs.cgi/Source/cmIfCommand.cxx?root=CMake&view=markup Doesn't seem so. Alex _______________________________________________ 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