Re: [CMake] handling global state

2006-06-02 Thread Brad King
Brandon J. Van Every wrote: I suppose CACHE INTERNAL "docstring" is for if I want to pass values back up from the subdirectories, or across subdirectories? See GET_DIRECTORY_PROPERTY to get variables from subdirs. -Brad ___ CMake mailing list CMake@c

Re: [CMake] handling global state

2006-06-01 Thread Brandon J. Van Every
William A. Hoffman wrote: At 05:10 PM 6/1/2006, Brandon J. Van Every wrote: STATIC? Is that some post 2.4.2 thing? It's not in the 2.4.2 docs. What does it do? Sorry, that is not something you can do from the set command, INTERNAL does pretty

Re: [CMake] handling global state

2006-06-01 Thread William A. Hoffman
At 05:10 PM 6/1/2006, Brandon J. Van Every wrote: >> > >STATIC? Is that some post 2.4.2 thing? It's not in the 2.4.2 docs. What >does it do? Sorry, that is not something you can do from the set command, INTERNAL does pretty much the same thing. _

Re: [CMake] handling global state

2006-06-01 Thread Brandon J. Van Every
William A. Hoffman wrote: 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 docum

Re: [CMake] handling global state

2006-06-01 Thread Brad King
Brandon J. Van Every wrote: 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. U

Re: [CMake] handling global state

2006-06-01 Thread William A. Hoffman
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 provid

Re: [CMake] handling global state

2006-06-01 Thread Brandon J. Van Every
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

Re: [CMake] handling global state

2006-06-01 Thread Brad King
Brandon J. Van Every wrote: I need some stylistic advice on handling global state. I'm starting to break my monolithic CMakeLists.txt up into subdirectories. I'm building the Chicken compiler and I need to do staged builds. A lot of essentially the same operations, done on itself multiple ti

Re: [CMake] handling global state

2006-06-01 Thread Filipe Sousa
Brandon J. Van Every wrote: > I need some stylistic advice on handling global state. I'm starting to > break my monolithic CMakeLists.txt up into subdirectories. I'm building > the Chicken compiler and I need to do staged builds. A lot of > essentially the same operations, done on itself mult

[CMake] handling global state

2006-06-01 Thread Brandon J. Van Every
I need some stylistic advice on handling global state. I'm starting to break my monolithic CMakeLists.txt up into subdirectories. I'm building the Chicken compiler and I need to do staged builds. A lot of essentially the same operations, done on itself multiple times so that it's compiled up