David Somers wrote:
For a cmake project, it it possible to get a list of all its targets; and for the targets to get their dependencies?

There is no official interface for this. You could try using get_cmake_property to get the CACHE_VARIABLES property. Look for variables of the form "foo_LIB_DEPENDS". This is not guaranteed to remain the same in the future though.

-Brad
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to