[CMake] handling global state

William A. Hoffman billlist at nycap.rr.com
Thu Jun 1 16:00:30 EDT 2006


At 03:55 PM 6/1/2006, Brandon J. Van Every wrote:
>>=
>>
>>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."
LOAD_CACHE should not be used.   INTERNAL or STATIC is what you want.

-Bill



More information about the CMake mailing list