On Friday 28 August 2009, Michael Jackson wrote: > If you pull the boost 1.39.0 sources there is an experimental CMake > based build system. In those cmake files the developers have somehow > figured out how to do what you want. For a given library, you can get > all the dependencies.
Maybe you can file a feature request, so that you can do get_target_properties(libs yourlib LINK_INTERFACE_LIBRARIES) works if you have set LINK_INTERFACE_LIBRARIES using TARGET_LINK_LIBRARIES(... LINK_INTERFACE_LIBRARIES) If you haven't done that, it returns NOTFOUND. Maybe you could file a feature request that get_target_property(<var> <target> LINK_INTERFACE_LIBRARIES) should return the full set of linked libraries (which will be the link interface libraries) if LINK_INTERFACE_LIBRARIES has not explicitely been set. For libraries you can also have a look at the <target>_LIB_DEPENDS variable, maybe that helps. Alex _______________________________________________ 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
