From 96c31fad71cab6bd45c094bbde7c4fded5805eef Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (o)" Date: Mon, 12 Nov 2018 15:49:31 +0100 Subject: Help: Downcase functions in BundleUtilities Presumably, capitalization was left over from very old times --- Modules/BundleUtilities.cmake | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Modules/BundleUtilities.cmake b/Modules/BundleUtilities.cmake index 4a3f476..10e5510 100644 --- a/Modules/BundleUtilities.cmake +++ b/Modules/BundleUtilities.cmake @@ -41,7 +41,7 @@ Instead, invoke them from an :command:`install(CODE)` or .. code-block:: cmake - FIXUP_BUNDLE( ) + fixup_bundle( ) 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 @@ -64,14 +64,14 @@ which are then ignored (e.g. IGNORE_ITEM "vcredist_x86.exe;vcredist_x64.exe") .. code-block:: cmake - COPY_AND_FIXUP_BUNDLE( ) + copy_and_fixup_bundle( ) Makes a copy of the bundle at location and then fixes up the new copied bundle in-place at ... .. code-block:: cmake - VERIFY_APP() + verify_app() Verifies that an application appears valid based on running analysis tools on it. Calls "message(FATAL_ERROR" if the application @@ -82,14 +82,14 @@ which are then ignored (e.g. IGNORE_ITEM "vcredist_x86.exe;vcredist_x64.exe") .. code-block:: cmake - GET_BUNDLE_MAIN_EXECUTABLE( ) + get_bundle_main_executable( ) The result will be the full path name of the bundle's main executable file or an "error:" prefixed string if it could not be determined. .. code-block:: cmake - GET_DOTAPP_DIR( ) + get_dotapp_dir( ) Returns the nearest parent dir whose name ends with ".app" given the full path to an executable. If there is no such parent dir, then @@ -99,7 +99,7 @@ The returned directory may or may not exist. .. code-block:: cmake - GET_BUNDLE_AND_EXECUTABLE( ) + get_bundle_and_executable( ) Takes either a ".app" directory name or the name of an executable nested inside a ".app" directory and returns the path to the ".app" @@ -108,14 +108,14 @@ directory in and the path to its main executable in .. code-block:: cmake - GET_BUNDLE_ALL_EXECUTABLES( ) + get_bundle_all_executables( ) Scans the given bundle recursively for all executable files and accumulates them into a variable. .. code-block:: cmake - GET_ITEM_KEY( ) + get_item_key( ) Given a file (item) name, generate a key that should be unique considering the set of libraries that need copying or fixing up to @@ -127,7 +127,7 @@ associate a set of variables with a given item based on its key. .. code-block:: cmake - CLEAR_BUNDLE_KEYS() + clear_bundle_keys() Loop over the list of keys, clearing all the variables associated with each key. After the loop, clear the list of keys itself. @@ -137,7 +137,7 @@ list of keys. .. code-block:: cmake - SET_BUNDLE_KEY_VALUES( + set_bundle_key_values( []) Add a key to the list (if necessary) for the given item. If added, @@ -145,7 +145,7 @@ also set all the variables associated with that key. .. code-block:: cmake - GET_BUNDLE_KEYS( ) + get_bundle_keys( ) Loop over all the executable and library files within the bundle (and given as extra ) and accumulate a list of keys representing @@ -158,7 +158,7 @@ which are then ignored (e.g. IGNORE_ITEM "vcredist_x86.exe;vcredist_x64.exe") .. code-block:: cmake - COPY_RESOLVED_ITEM_INTO_BUNDLE( ) + copy_resolved_item_into_bundle( ) Copy a resolved item into the bundle if necessary. Copy is not necessary if the resolved_item is "the same as" the @@ -166,7 +166,7 @@ resolved_embedded_item. .. code-block:: cmake - COPY_RESOLVED_FRAMEWORK_INTO_BUNDLE( ) + copy_resolved_framework_into_bundle( ) Copy a resolved framework into the bundle if necessary. Copy is not necessary if the resolved_item is "the same as" the @@ -180,7 +180,7 @@ dylib itself plus the framework Resources directory. .. code-block:: cmake - FIXUP_BUNDLE_ITEM( ) + fixup_bundle_item( ) Get the direct/non-system prerequisites of the resolved embedded item. For each prerequisite, change the way it is referenced to the value of @@ -206,7 +206,7 @@ marked writable before install_name_tool tries to change them. .. code-block:: cmake - VERIFY_BUNDLE_PREREQUISITES( ) + verify_bundle_prerequisites( ) Verifies that the sum of all prerequisites of all files inside the bundle are contained within the bundle or are "system" libraries, @@ -217,7 +217,7 @@ which are then ignored (e.g. IGNORE_ITEM "vcredist_x86.exe;vcredist_x64.exe") .. code-block:: cmake - VERIFY_BUNDLE_SYMLINKS( ) + verify_bundle_symlinks( ) Verifies that any symlinks found in the bundle point to other files that are already also in the bundle... Anything that points to an -- cgit v0.12