[CMake] Include Link Dependencies

Andreas Pakulat apaku at gmx.de
Wed Nov 16 14:50:04 EST 2011


On 16.11.11 17:35:22, Marcus Monaghan wrote:
> Hi,
> 
> I'm just starting to use the cpack module in cmake to put together TGZ.
> 
> I use TARGET_LINK_LIBRARIES to specify which libs to use during linking.
> 
> Is there a way to get a list of the libs that are found and include them in my TGZ?
> 
> I can include the libs that are compiled as part of my build, but I also want to include the 3rd party libs as well.

Look at the BundleUtilities module, that'll allow you to create a
self-contained application package.

Andreas



More information about the CMake mailing list