On 2/16/2012 6:32 AM, Alexander Neundorf wrote:
Done, and pushed to stage.
I added the prefix "cmake_" to the function, and added a test for it.

Looks good, thanks.

However now that I look at the end result I realize that the functionality
is not specific to CMAKE_REQUIRED_LIBRARIES at all.  It is a general
conversion from imported targets to raw file paths.  Perhaps the name
and interface could be made more general:

  include(CMakeExpandImportedTargets)
  cmake_expand_imported_targets(result LIBRARIES ${CMAKE_REQUIRED_LIBRARIES})

-Brad
--

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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to