Browse Source

Help: Mention IMPORTED_OBJECTS in add_library docs

The `IMPORTED_OBJECTS` is to object libraries as `IMPORTED_LOCATION`
is to normal libraries.

Fixes: #18176
Brad King 7 years ago
parent
commit
62b4df1e84
1 changed files with 5 additions and 2 deletions
  1. 5 2
      Help/command/add_library.rst

+ 5 - 2
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
 ^^^^^^^^^^^^^^^^