Hi all,

Is there a way to catch the CMake Error 'get_directory_property' when
requesting a property from a directory that has not yet been processed
by CMake.

I need to do this, because, in my situation, it is not an error if one
or more directories are not present (i.e. checked out). I would like
get_directory_property() to return FALSE or NOTFOUND when it cannot find
the requested directory, so that I can take appropriate action myself.
Is that somehow possible?

Best regards,
Marcel Loose.
 

_______________________________________________
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

Reply via email to