[cmake-developers] [CMake 0013969]: BundleUtilities to bundle shared libraries without any executable

Mantis Bug Tracker mantis at public.kitware.com
Sat Mar 2 21:33:03 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=13969 
====================================================================== 
Reported By:                dashesy
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13969
Category:                   CMake
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-03-02 21:33 EST
Last Modified:              2013-03-02 21:33 EST
====================================================================== 
Summary:                    BundleUtilities to bundle shared libraries without
any executable
Description: 
When distributing extensions it is very useful to be able to fix_bundle a shared
library the way executable is bundled, just to make it not depend on the build
system libraries. Every depending library can be bundled by @loader_path
relative to the main shared library (manual commands do work). 
Also it would be useful to be able to bundle files in a flat directory, all in
the same level.
I would be happy to help, I can change BundleUtilities.cmake to do exactly that,
then I can rename it to something like FlatBundle.cmake, alternatively I can add
the changes to BundleUtilities itself.

Additional Information: 
It can be useful for any dlopen'ed library (I have a use-case for MATLAB mex
files). Also this would be useful for Windows, OSX and Linux. On OSX I would
like to bundle libraries along-side my MATLAB mex so that a normal user does not
have to install Homebrew and many libraries by command line to use it.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-03-02 21:33 dashesy        New Issue                                    
======================================================================




More information about the cmake-developers mailing list