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 subdirectory.

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

Thanks,
James
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to