diff --git a/Modules/BundleUtilities.cmake b/Modules/BundleUtilities.cmake index 44f2c20..6811fb6 100644 --- a/Modules/BundleUtilities.cmake +++ b/Modules/BundleUtilities.cmake @@ -23,14 +23,25 @@ # PARENT_SCOPE. Also depends on GetPrerequisites.cmake. # # FIXUP_BUNDLE( ) +# one executables or library +# executables and libraries which not directly links to +# additional search pathes for the dependencies of and +# # Fix up a bundle in-place and make it standalone, such that it can be # drag-n-drop copied to another machine and run on that machine as long as all # of the system libraries are compatible. # +# The whole concept of fixup_bundle is based on the assumption that there is a +# direcrory(bundle) containing some set of executable files (*.exes and *.dll/dylib/so) +# to begin with. All other libraries these executable files depends on will be copied +# by fixup_bundle into the bundle. fixup_bundle could only detect dependencies which +# are hardcoded into the executables and which could be found by GetPrerequisites. +# Therefore you always have to pass plugins as parameter to fixup_bundle, +# because by definition applications do know nothing about the existance of a +# concrete plugin. +# # If you pass plugins to fixup_bundle as the libs parameter, you should install -# them or copy them into the bundle before calling fixup_bundle. The "libs" -# parameter is a list of libraries that must be fixed up, but that cannot be -# determined by otool output analysis. (i.e., plugins) +# them or copy them into the bundle before calling fixup_bundle. # # Gather all the keys for all the executables and libraries in a bundle, and # then, for each key, copy each prerequisite into the bundle. Then fix each one