my directory hierarchical is : dir1/dir2/dir3. 
In dir3's CMakeLists.txt, I define a custom variable named 'xxx' using the 
command set(xxx yyy). 
I want to use the variable 'xxx' in dir1's CMakeLists.txt, how to do that? Can 
export the user-defined variable?
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to