On 17. Mar, 2010, at 14:45 , David Doria wrote:
>> This is a read-only directory property:
>>
>> http://www.cmake.org/cmake/help/cmake-2-8-docs.html#prop_dir:INCLUDE_DIRECTORIES
>>
>> Michael
>
> That's ok, all I want to do is read it. That's why I thought it would just be:
>
> MESSAGE("INCLUDE_DIRECTORIES: ${INCLUDE_DIRECTORIES}")
>
> But I guess INCLUDE_DIRECTORIES is a function, not a variable? Which
> variable gets set when you call the INCLUDE_DIRECTORIES function then?
>
> Thanks,
>
> David
As I said, it's a directory-property:
get_property(inc_dirs DIRECTORY PROPERTY INCLUDE_DIRECTORIES)
message("inc_dirs = ${inc_dirs}")
Michael
_______________________________________________
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