[cmake-developers] [Review Request] Topic CMakePackageConfigHelpers_build_tree
Brad King
brad.king at kitware.com
Mon Jul 21 13:23:38 EDT 2014
On 07/21/2014 11:38 AM, Daniele E. Domenichelli wrote:
> Done.
Thanks. Please squash in something like the patch below.
-Brad
diff --git a/Modules/CMakePackageConfigHelpers.cmake b/Modules/CMakePackageConfigHelpers.cmake
index 24b5b74..54ceb54 100644
--- a/Modules/CMakePackageConfigHelpers.cmake
+++ b/Modules/CMakePackageConfigHelpers.cmake
@@ -8,7 +8,8 @@
# Adds the :command:`configure_package_config_file()` and
# :command:`write_basic_package_version_file()` commands.
#
-#
+# Generating a Package Configuration File
+# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#
# .. command:: configure_package_config_file
#
@@ -104,10 +105,10 @@
# When using the ``NO_CHECK_REQUIRED_COMPONENTS_MACRO`` option, this macro is
# not generated into the ``FooConfig.cmake`` file.
#
-# For an example see below the documentation for
-# :command:`write_basic_package_version_file()`.
-#
+# See the `Example Generating Package Files`_ below.
#
+# Generating a Package Version File
+# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#
# .. command:: write_basic_package_version_file
#
@@ -154,6 +155,8 @@
# :command:`configure_file()` on them yourself, but they can be used as starting
# point to create more sophisticted custom ``ConfigVersion.cmake`` files.
#
+# Example Generating Package Files
+# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#
# Example using both :command:`configure_package_config_file` and
# ``write_basic_package_version_file()``:
More information about the cmake-developers
mailing list