[CMake] library dependencies

Alexander Neundorf a.neundorf-work at gmx.net
Mon Jul 2 16:10:46 EDT 2007


On Monday 02 July 2007 08:05, Jesper Eskilson wrote:
> Hi all,
>
> Is there a way to extract the list of library dependencies specified
> by target_link_libraries for a target? I would like to be able to pass
> the list of libraries  to an external script at build time.

Does export_library_dependencies() help ? You could use it to put the 
information in a text file which could then be used at buildtime by other 
tools/scripts.

Alex


More information about the CMake mailing list