[CMake] How to export the user-defined variable in to the parent directory?
黄光成
guang11cheng at 163.com
Sat Jul 14 04:21:02 EDT 2012
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120714/93cf918c/attachment.htm>
More information about the CMake
mailing list