summaryrefslogtreecommitdiff
path: root/Modules/BundleUtilities.cmake
Commit message (Collapse)AuthorAgeFilesLines
* BundleUtilities: only do rpath strip on copied prerequisites.Clinton Stimpson2010-11-231-6/+6
|
* Merge topic 'fix-10417'Brad King2010-09-081-1/+1
|\ | | | | | | | | e93a4b4 Avoid adding self as prerequisite. (#10417)
| * Avoid adding self as prerequisite. (#10417)David Cole2010-09-071-1/+1
| | | | | | | | Thanks to Clinton Stimpson for the patch.
* | Make bundle items writable before fixup (#9284)Mike McQuaid2010-09-071-0/+7
|/ | | | | | | | This ensures that any bundle items are made user writable before any attempt is made to alter them using install_name_tool. This is because MacPorts/Fink/Homebrew don't install libraries as writable. This fix is needed to allow fixup_bundle_item to work correctly when ingesting libraries installed by these package managers.
* Refine formatting for cmake --help-module output.David Cole2010-08-251-3/+2
| | | | Also refer to self as module, not script.
* Merge branch 'patches/docBundleUtilities'David Cole2010-08-251-127/+113
|\ | | | | | | | | | | | | | | | | | | | | of http://github.com/themiwi/CMake into fix-10747 Conflicts: Modules/BundleUtilities.cmake There was one newly added function in BundleUtilities.cmake which also needed the same "documentation at top" treatment.
| * Improve documentation of BundleUtilities.cmakeMichael Wild2010-05-231-116/+103
| | | | | | | | | | | | | | Put the function documentation into the header-comment, improve formatting and list the user-relevant functions first. Signed-off-by: Michael Wild <themiwi@users.sourceforge.net>
* | Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin2010-08-091-1/+1
| |
* | Copy Resources in Frameworks during fixup_bundle (#10020)David Cole2010-07-271-2/+62
|/ | | | | | | | | By default, if an embedded item is a framework, copy its main dylib file explicitly, and then also its Resources if it has any. Inspect a variable, BU_COPY_FULL_FRAMEWORK_CONTENTS, and if it's ON, copy the entire framework into the bundle.
* Fix issue #9412 - remove RPATH from files copied by BundleUtilities.cmake on ↵David Cole2009-09-281-0/+4
| | | | Linux. Thanks to Clinton Stimpson for the patch.
* Convert CMake non-find modules to BSD LicenseBrad King2009-09-281-0/+12
| | | | | | | This adds copyright/license notification blocks CMake's non-find modules. Most of the modules had no notices at all. Some had notices referring to the BSD license already. This commit normalizes existing notices and adds missing notices.
* Overhaul GetPrerequisites and BundleUtilities: make fixup_bundle do ↵David Cole2009-08-051-21/+53
| | | | | | something useful on Windows and Linux. Formerly, fixup_bundle was useful only on the Mac for making standalone bundle applications that could be drag-n-drop moved to anyplace in the file system. fixup_bundle is not just for the Mac any more. It will now analyze executable files on Windows and Linux, too, and copy necessary non-system dlls to the same folder that the executable is in. This should work with dlls that you build as part of your build and also with 3rd-party dlls as long as you give fixup_bundle the right list of directories to search for those dlls. Many thanks to Clinton Stimpson for his help in ironing out the details involved in making this work.
* ENH: Add BundleUtilities.cmake and supporting changes to ↵David Cole2008-09-061-0/+645
GetPrerequisites.cmake. Function copy_and_fixup_bundle in BundleUtilities helps to make standalone bundle applications on the Mac by pulling in prerequisite non-system libraries and frameworks as needed. Uses otool and install_name_tool to do analysis and fixups. Project-specific hooks for deciding where to embed libraries and for resolving item names into full path file names are also provided.