summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-08-06 14:45:58 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-08-06 14:47:49 (GMT)
commitba6aa54b8d7510097678c27e1f8dcede52e0f4b3 (patch)
tree248055c6cb70a64cc6d0c9564ac590a0c13c12ef
parentb1892fb98cf65168ecb1f21b8b8c0d113c5ddf95 (diff)
parent1f1feb72f8b275208a1bb75b728d092d7943229e (diff)
downloadCMake-ba6aa54b8d7510097678c27e1f8dcede52e0f4b3.zip
CMake-ba6aa54b8d7510097678c27e1f8dcede52e0f4b3.tar.gz
CMake-ba6aa54b8d7510097678c27e1f8dcede52e0f4b3.tar.bz2
Merge topic 'doc-imported-dll-implib'
1f1feb72f8 Help: Document in add_library that IMPORTED_IMPLIB is for DLL import libs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5096
-rw-r--r--Help/command/add_library.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/Help/command/add_library.rst b/Help/command/add_library.rst
index ed8447e..52536bb 100644
--- a/Help/command/add_library.rst
+++ b/Help/command/add_library.rst
@@ -144,7 +144,12 @@ The ``<type>`` must be one of:
References a library file located outside the project. The
:prop_tgt:`IMPORTED_LOCATION` target property (or its per-configuration
variant :prop_tgt:`IMPORTED_LOCATION_<CONFIG>`) specifies the
- location of the main library file on disk.
+ location of the main library file on disk. In the case of a ``SHARED``
+ library on Windows, the :prop_tgt:`IMPORTED_IMPLIB` target property
+ (or its per-configuration variant :prop_tgt:`IMPORTED_IMPLIB_<CONFIG>`)
+ specifies the location of the DLL import library file (``.lib`` or
+ ``.dll.a``) on disk, and the ``IMPORTED_LOCATION`` is the location of
+ the ``.dll`` runtime library (and is optional).
Additional usage requirements may be specified in ``INTERFACE_*`` properties.
An ``UNKNOWN`` library type is typically only used in the implementation of