[CMake] global variable passing up via INTERNAL cache variable

Erik Johansson erik at ejohansson.se
Wed Nov 28 13:52:51 EST 2007


2007/11/27, James Bigler <bigler at cs.utah.edu>:
> I got a hint that I could do this to set values that could be read by
> the CMakeLists.txt file above:

You can also use get_directory_property. See for example how we use it
in Licq [1]  to get a the list of files from a subdirectory (to
implement convenience libs).

// Erik

[1] - http://trac.licq.org/browser/branches/newapi/licq/src/CMakeLists.txt

-- 
Erik Johansson
Home Page: http://ejohansson.se/
PGP Key: http://ejohansson.se/erik.asc


More information about the CMake mailing list