summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-07-16 08:17:02 -0400
committerBrad King <brad.king@kitware.com>2018-07-16 08:17:51 -0400
commit62b4df1e84104f6c30492fdc12f25fb3cc72f736 (patch)
treee3c4af905a0844b0be9ce57f59c7d360744d02a3
parent7f1569d2d8c1a647cf4d1b0696834952cf8f00fb (diff)
downloadcmake-62b4df1e84104f6c30492fdc12f25fb3cc72f736.tar.gz
Help: Mention IMPORTED_OBJECTS in add_library docs
The `IMPORTED_OBJECTS` is to object libraries as `IMPORTED_LOCATION` is to normal libraries. Fixes: #18176
-rw-r--r--Help/command/add_library.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/Help/command/add_library.rst b/Help/command/add_library.rst
index 8fa0df72ab..f20b2743e7 100644
--- a/Help/command/add_library.rst
+++ b/Help/command/add_library.rst
@@ -83,8 +83,11 @@ about the imported library are specified by setting properties whose names
begin in ``IMPORTED_`` and ``INTERFACE_``. The most important such
property is :prop_tgt:`IMPORTED_LOCATION` (and its per-configuration
variant :prop_tgt:`IMPORTED_LOCATION_<CONFIG>`) which specifies the
-location of the main library file on disk. See documentation of the
-``IMPORTED_*`` and ``INTERFACE_*`` properties for more information.
+location of the main library file on disk. Or, for object libraries,
+:prop_tgt:`IMPORTED_OBJECTS` (and :prop_tgt:`IMPORTED_OBJECTS_<CONFIG>`)
+specifies the locations of object files on disk.
+See documentation of the ``IMPORTED_*`` and ``INTERFACE_*`` properties
+for more information.
Object Libraries
^^^^^^^^^^^^^^^^