[Cmake-commits] CMake branch, master, updated. v3.14.0-rc2-307-g911d67b
Kitware Robot
kwrobot at kitware.com
Fri Mar 1 09:03:03 EST 2019
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, master has been updated
via 911d67b173ef2ece7f7e5f5ee73f69515bffe262 (commit)
via b8307adb9f1cd5c5d8fc5a75fb958356b2f091d7 (commit)
via 19e15853e9ace8df5acfd784811479cc14d3a369 (commit)
from 0465c32a82f4da7745294edb1b0efe50ca66e15c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=911d67b173ef2ece7f7e5f5ee73f69515bffe262
commit 911d67b173ef2ece7f7e5f5ee73f69515bffe262
Merge: 0465c32 b8307ad
Author: Brad King <brad.king at kitware.com>
AuthorDate: Fri Mar 1 13:52:25 2019 +0000
Commit: Kitware Robot <kwrobot at kitware.com>
CommitDate: Fri Mar 1 08:53:31 2019 -0500
Merge topic 'doc-install-internal-xref'
b8307adb9f Help: inter-link install() commands
19e15853e9 Help: add inter link anchors for install() commands
Acked-by: Kitware Robot <kwrobot at kitware.com>
Merge-request: !3034
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b8307adb9f1cd5c5d8fc5a75fb958356b2f091d7
commit b8307adb9f1cd5c5d8fc5a75fb958356b2f091d7
Author: NeroBurner <pyro4hell at gmail.com>
AuthorDate: Wed Feb 27 11:23:39 2019 -0500
Commit: Brad King <brad.king at kitware.com>
CommitDate: Thu Feb 28 11:49:53 2019 -0500
Help: inter-link install() commands
diff --git a/Help/command/install.rst b/Help/command/install.rst
index 5580a20..4cef787 100644
--- a/Help/command/install.rst
+++ b/Help/command/install.rst
@@ -266,20 +266,20 @@ the following additional arguments:
is not recommended to use ``NAMELINK_SKIP`` in conjunction with
``NAMELINK_COMPONENT``.
-The ``install(TARGETS)`` command can also accept the following options at the
+The `install(TARGETS)`_ command can also accept the following options at the
top level:
``EXPORT``
This option associates the installed target files with an export called
``<export-name>``. It must appear before any target options. To actually
- install the export file itself, call ``install(EXPORT)``, documented below.
+ install the export file itself, call `install(EXPORT)`_, documented below.
See documentation of the :prop_tgt:`EXPORT_NAME` target property to change
the name of the exported target.
``INCLUDES DESTINATION``
This option specifies a list of directories which will be added to the
:prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES` target property of the
- ``<targets>`` when exported by the :command:`install(EXPORT)` command. If a
+ ``<targets>`` when exported by the `install(EXPORT)`_ command. If a
relative path is specified, it is treated as relative to the
``$<INSTALL_PREFIX>``.
@@ -313,7 +313,7 @@ targets that link to the object libraries in their implementation.
Installing a target with the :prop_tgt:`EXCLUDE_FROM_ALL` target property
set to ``TRUE`` has undefined behavior.
-:command:`install(TARGETS)` can install targets that were created in
+`install(TARGETS)`_ can install targets that were created in
other directories. When using such cross-directory install rules, running
``make install`` (or similar) from a subdirectory will not guarantee that
targets from other directories are up-to-date. You can use
@@ -580,7 +580,7 @@ Installing Exports
The ``EXPORT`` form generates and installs a CMake file containing code to
import targets from the installation tree into another project.
Target installations are associated with the export ``<export-name>``
-using the ``EXPORT`` option of the ``install(TARGETS)`` signature
+using the ``EXPORT`` option of the `install(TARGETS)`_ signature
documented above. The ``NAMESPACE`` option will prepend ``<namespace>`` to
the target names as they are written to the import file. By default
the generated file will be called ``<export-name>.cmake`` but the ``FILE``
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=19e15853e9ace8df5acfd784811479cc14d3a369
commit 19e15853e9ace8df5acfd784811479cc14d3a369
Author: NeroBurner-tux <pyro4hell at gmail.com>
AuthorDate: Wed Feb 27 21:37:51 2019 +0100
Commit: Brad King <brad.king at kitware.com>
CommitDate: Thu Feb 28 11:49:23 2019 -0500
Help: add inter link anchors for install() commands
diff --git a/Help/command/install.rst b/Help/command/install.rst
index 8c98b65..5580a20 100644
--- a/Help/command/install.rst
+++ b/Help/command/install.rst
@@ -99,6 +99,7 @@ Windows platforms are unaffected.
Installing Targets
^^^^^^^^^^^^^^^^^^
+.. _`install(TARGETS)`:
.. _TARGETS:
.. code-block:: cmake
@@ -327,6 +328,8 @@ use "generator expressions" with the syntax ``$<...>``. See the
Installing Files
^^^^^^^^^^^^^^^^
+.. _`install(FILES)`:
+.. _`install(PROGRAMS)`:
.. _FILES:
.. _PROGRAMS:
@@ -404,6 +407,7 @@ use "generator expressions" with the syntax ``$<...>``. See the
Installing Directories
^^^^^^^^^^^^^^^^^^^^^^
+.. _`install(DIRECTORY)`:
.. _DIRECTORY:
.. code-block:: cmake
@@ -528,6 +532,8 @@ manual for available expressions.
Custom Installation Logic
^^^^^^^^^^^^^^^^^^^^^^^^^
+.. _`install(CODE)`:
+.. _`install(SCRIPT)`:
.. _CODE:
.. _SCRIPT:
@@ -557,6 +563,7 @@ name, not the file's contents). See the
Installing Exports
^^^^^^^^^^^^^^^^^^
+.. _`install(EXPORT)`:
.. _EXPORT:
.. code-block:: cmake
-----------------------------------------------------------------------
Summary of changes:
Help/command/install.rst | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list