[CMake] variables in subdirectories

James Bigler bigler at cs.utah.edu
Mon Feb 13 17:34:00 EST 2006

I have a "global" variable in my top level CMakeLists.txt file.  I want 
code in CMakeLists files in subdirectories to add values to it. 
Unfortunately the modifications that are made are lost after I leave the 

Is there any way to get information passed up the tree of CMakeLists files?


More information about the CMake mailing list