diff options
author | Brad King <brad.king@kitware.com> | 2018-03-01 14:25:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-03-01 14:27:50 (GMT) |
commit | bafe655b11c876b45a5ce1fbaf4643593bdd22a3 (patch) | |
tree | fe91cba040f960f97d85c36e8e5635e8bdeb31d9 /Help/command/install.rst | |
parent | 57538224d06225ce039f9c883465c6743186c2f4 (diff) | |
download | CMake-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.rst | 2 |
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. |