mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
Help: Document in add_library that IMPORTED_IMPLIB is for DLL import libs
Fixes: #21053
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user