[CMake] Inherited Directory Properties?

Matthew Woehlke matthew.woehlke at kitware.com
Fri Sep 13 17:12:42 EDT 2013


On 2013-09-13 16:43, Stewart, Robert wrote:
> I want a way to manage a list that applies to the current directory and any subdirectories, unless overridden for a subdirectory (which then applies to that subdirectory's subdirectories).
>
> I tried using SET_DIRECTORY_PROPERTIES() to set/modify the list, for the current directory, but GET_DIRECTORY_PROPERTY() doesn't find that list when in a subdirectory (unless I've made some mistake, of course).
>
> Is there a way to do what I want?

What's wrong with a regular variable?

-- 
Matthew



More information about the CMake mailing list