Is there anyway in cmake to do something like ‘ldd’, i.e., given a target, get its linked libraries, and store them in a list?
If there is not, is there a way to do a command line ‘ldd’ (i know using COMMAND) and store the output to a cmake variable?
Thanks
Well I pretty much get it
and use function
GET_PREREQUISITES
see this: http://www.cmake.org/pipermail/cmake/2009-June/029975.html