summaryrefslogtreecommitdiffstats
path: root/Help/command/install.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-03-01 14:25:45 (GMT)
committerBrad King <brad.king@kitware.com>2018-03-01 14:27:50 (GMT)
commitbafe655b11c876b45a5ce1fbaf4643593bdd22a3 (patch)
treefe91cba040f960f97d85c36e8e5635e8bdeb31d9 /Help/command/install.rst
parent57538224d06225ce039f9c883465c6743186c2f4 (diff)
downloadCMake-bafe655b11c876b45a5ce1fbaf4643593bdd22a3.zip
CMake-bafe655b11c876b45a5ce1fbaf4643593bdd22a3.tar.gz
CMake-bafe655b11c876b45a5ce1fbaf4643593bdd22a3.tar.bz2
Help: Document linking behavior of OBJECT libraries
Inspired-by: Deniz Bahadir <dbahadir@benocs.com> Issue: #14778
Diffstat (limited to 'Help/command/install.rst')
-rw-r--r--Help/command/install.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Help/command/install.rst b/Help/command/install.rst
index 1cedc35..eb7b07c 100644
--- a/Help/command/install.rst
+++ b/Help/command/install.rst
@@ -187,6 +187,8 @@ export file itself, call ``install(EXPORT)``, documented below.
They install no artifacts but will be included in an associated ``EXPORT``.
If :ref:`Object Libraries` are listed but given no destination for their
object files, they will be exported as :ref:`Interface Libraries`.
+This is sufficient to satisfy transitive usage requirements of other
+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.