From 1f1feb72f8b275208a1bb75b728d092d7943229e Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 4 Aug 2020 09:26:01 -0400 Subject: Help: Document in add_library that IMPORTED_IMPLIB is for DLL import libs Fixes: #21053 --- Help/command/add_library.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 ```` 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_`) 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_`) + 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 -- cgit v0.12