summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-07-16 12:17:02 (GMT)
committerBrad King <brad.king@kitware.com>2018-07-16 12:17:51 (GMT)
commit62b4df1e84104f6c30492fdc12f25fb3cc72f736 (patch)
treee3c4af905a0844b0be9ce57f59c7d360744d02a3 /Help
parent7f1569d2d8c1a647cf4d1b0696834952cf8f00fb (diff)
downloadCMake-62b4df1e84104f6c30492fdc12f25fb3cc72f736.zip
CMake-62b4df1e84104f6c30492fdc12f25fb3cc72f736.tar.gz
CMake-62b4df1e84104f6c30492fdc12f25fb3cc72f736.tar.bz2
Help: Mention IMPORTED_OBJECTS in add_library docs
The `IMPORTED_OBJECTS` is to object libraries as `IMPORTED_LOCATION` is to normal libraries. Fixes: #18176
Diffstat (limited to 'Help')
-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 8fa0df7..f20b274 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
^^^^^^^^^^^^^^^^