[CMake] get_directory_property and get_property

James Bigler jamesbigler at gmail.com
Wed Apr 16 15:35:24 EDT 2014


I see that I can get the value of a variable from a directory using:

get_directory_property(sub1_val1 DIRECTORY sub1 DEFINITION val1)

Can I do the same thing with get_property?

I see a VARIABLE entry, but I can't use that with the DIRECTORY indication.

By the way what are the properties on VARIABLE that can be queried?  I
don't see any documentation for this question.

get_property(... VARIABLE PROPERTY ???)

Thanks,
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140416/042965b6/attachment.html>


More information about the CMake mailing list