William A. Hoffman wrote:
At 05:10 PM 6/1/2006, Brandon J. Van Every wrote: Tried INTERNAL. Thanks for the pointer. The docs could stand an example. It took me quite a number of hacks before I figured out that I had to type things like SET(MYVAR 310 CACHE INTERNAL "Isn't this a neato docstring!") Anything with fewer elements than that and I just got lists with INTERNAL and so forth tacked on them. On the other hand, I discovered that contrary to what I was expecting, if I define a variable before ADD_SUBDIRECTORY then it'll be trivially communicated to the subdirectory. No CACHE INTERNAL "docstring" required. I suppose CACHE INTERNAL "docstring" is for if I want to pass values back up from the subdirectories, or across subdirectories? Cheers, Brandon Van Every |
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
