mirror of
https://github.com/Kitware/CMake.git
synced 2026-07-01 20:27:24 +00:00
Help: Drop target_link_libraries redundant prose on debug/optimized keywords
This is already documented in the overview, and does not need to be repeated for a specific signature. Issue: #26679
This commit is contained in:
@@ -223,19 +223,6 @@ for linking. If policy :policy:`CMP0022` is not ``NEW``, then this mode
|
||||
also appends libraries to the :prop_tgt:`LINK_INTERFACE_LIBRARIES` and its
|
||||
per-configuration equivalent.
|
||||
|
||||
Libraries specified as ``debug`` are wrapped in a generator expression to
|
||||
correspond to debug builds. If policy :policy:`CMP0022` is
|
||||
not ``NEW``, the libraries are also appended to the
|
||||
:prop_tgt:`LINK_INTERFACE_LIBRARIES_DEBUG <LINK_INTERFACE_LIBRARIES_<CONFIG>>`
|
||||
property (or to the properties corresponding to configurations listed in
|
||||
the :prop_gbl:`DEBUG_CONFIGURATIONS` global property if it is set).
|
||||
Libraries specified as ``optimized`` are appended to the
|
||||
:prop_tgt:`INTERFACE_LINK_LIBRARIES` property. If policy :policy:`CMP0022`
|
||||
is not ``NEW``, they are also appended to the
|
||||
:prop_tgt:`LINK_INTERFACE_LIBRARIES` property. Libraries specified as
|
||||
``general`` (or without any keyword) are treated as if specified for both
|
||||
``debug`` and ``optimized``.
|
||||
|
||||
.. _`Linking Object Libraries`:
|
||||
|
||||
Linking Object Libraries
|
||||
|
||||
Reference in New Issue
Block a user