[CMake] INSTALL dependencies

Mike Arthur mike at mikearthur.co.uk
Wed Jan 28 17:59:03 EST 2009


On Wednesday 28 January 2009 20:41:38 Pau Garcia i Quiles wrote:
> Is it possible to install a target's dependencies using the INSTALL(
> TARGET ... ) signature? I. e. something like INSTALL ( TARGET mytarget
> INSTALL_DEPENDENCIES ) which goes through the parameters of
> TARGET_LINK_LIBRARIES and installs them too.
The GetPrerequisites is designed exactly for this. It's a bit tricky to use 
but I use it to install dependencies for my executables.
-- 
Cheers,
Mike Arthur
http://mikearthur.co.uk/


More information about the CMake mailing list