[CMake] handling global state

Brandon J. Van Every bvanevery at gmail.com
Thu Jun 1 15:55:11 EDT 2006


Filipe Sousa wrote:
> Brandon J. Van Every wrote:
>>
>>
>> So how do you pass read-only global state to subdirectory consumers?
>>
>>
>> Cheers,
>> Brandon Van Every
>>     
>
> Maybe SET INTERNAL is what you are looking for.
>
>   
But IIUC, INTERNAL cache state is meant only for the cache in the 
current directory.  There is a notation in the LOAD_CACHE documentation: 
"INCLUDE_INTERNALS can be used to provide a list of internal entries to 
be included. Normally, no internal entries are brought in. Use of this 
form of the command is strongly discouraged, but it is provided for 
backward compatibility."


Cheers,
Brandon Van Every

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20060601/c68e3b28/attachment.htm


More information about the CMake mailing list