Explorar o código

Refine formatting for cmake --help-module output.

Also refer to self as module, not script.
David Cole %!s(int64=15) %!d(string=hai) anos
pai
achega
90add6b504
Modificáronse 2 ficheiros con 6 adicións e 9 borrados
  1. 2 3
      Modules/BundleUtilities.cmake
  2. 4 6
      Modules/GetPrerequisites.cmake

+ 2 - 3
Modules/BundleUtilities.cmake

@@ -1,4 +1,5 @@
-# - A collection of CMake utility functions useful for dealing with .app
+# - Functions to help assemble a standalone bundle application.
+# A collection of CMake utility functions useful for dealing with .app
 # bundles on the Mac and bundle-like directories on any OS.
 #
 # The following functions are provided by this module:
@@ -18,7 +19,6 @@
 #   fixup_bundle_item
 #   verify_bundle_prerequisites
 #   verify_bundle_symlinks
-#
 # Requires CMake 2.6 or greater because it uses function, break and
 # PARENT_SCOPE. Also depends on GetPrerequisites.cmake.
 #
@@ -127,7 +127,6 @@
 # Verifies that any symlinks found in the bundle point to other files that are
 # already also in the bundle... Anything that points to an external file causes
 # this function to fail the verification.
-#
 
 #=============================================================================
 # Copyright 2008-2009 Kitware, Inc.

+ 4 - 6
Modules/GetPrerequisites.cmake

@@ -1,11 +1,12 @@
-# - This script provides functions to list the .dll, .dylib or .so files that
-# an executable or shared library file depends on. (Its prerequisites.)
+# - Functions to analyze and list executable file prerequisites.
+# This module provides functions to list the .dll, .dylib or .so
+# files that an executable or shared library file depends on. (Its
+# prerequisites.)
 #
 # It uses various tools to obtain the list of required shared library files:
 #   dumpbin (Windows)
 #   ldd (Linux/Unix)
 #   otool (Mac OSX)
-#
 # The following functions are provided by this module:
 #   get_prerequisites
 #   list_prerequisites
@@ -19,7 +20,6 @@
 #   gp_resolved_file_type
 #     (projects can override with gp_resolved_file_type_override)
 #   gp_file_type
-#
 # Requires CMake 2.6 or greater because it uses function, break, return and
 # PARENT_SCOPE.
 #
@@ -93,7 +93,6 @@
 #   local
 #   embedded
 #   other
-#
 # Override on a per-project basis by providing a project-specific
 # gp_resolved_file_type_override function.
 #
@@ -106,7 +105,6 @@
 #   local
 #   embedded
 #   other
-#
 
 #=============================================================================
 # Copyright 2008-2009 Kitware, Inc.