summaryrefslogtreecommitdiff
path: root/Help/prop_tgt/INTERFACE_LINK_LIBRARIES_DIRECT.rst
Commit message (Collapse)AuthorAgeFilesLines
* Help: Fix wrong property name INTERFACE_PROPERTY_LINK_DIRECTCraig Scott2022-07-081-15/+15
| | | | | | | | This is the name of a placeholder used for some documentation in `Help/prop_tgt/INTERFACE_LINK_LIBRARIES_DIRECT.txt` that is included in multiple documents. During development iterations, much of the content was moved to just `Help/prop_tgt/INTERFACE_LINK_LIBRARIES_DIRECT.rst`, but the placeholder was not correctly replaced by its property name.
* INTERFACE_LINK_LIBRARIES_DIRECT: Honor link dependencies through LINK_ONLYBrad King2022-03-221-11/+24
| | | | | | | | | | | | | | | | | | In commit f3ad061858 (Add usage requirements to update direct link dependencies, 2022-01-12, v3.23.0-rc1~44^2), we evaluated the transitive closure of `INTERFACE_LINK_LIBRARIES` as a non-linking usage requirement. That left out `INTERFACE_LINK_LIBRARIES_DIRECT` link dependencies that appear behind private dependencies of a static library, guarded by the `$<LINK_ONLY:...>` generator expression. At the time, that decision was intentional, in order to prevent arbitrary usage requirements from leaking out of `PRIVATE` dependencies. Since then, we've revised evaluation of `LINK_LIBRARIES` to distinguish between collecting link dependencies and other usage requirements. Use that information when following `INTERFACE_LINK_LIBRARIES` to collect the matching kind of requirements from `INTERFACE_LINK_LIBRARIES_DIRECT`. Fixes: #22496
* Help: Update INTERFACE_LINK_LIBRARIES_DIRECT to be added in 3.24Brad King2022-03-221-1/+1
| | | | | | | This feature has been reverted from the 3.23 release branch. Update its documentation and release note to target 3.24 instead. Issue: #22496
* Help: Update Sphinx versionadded directives for 3.23 releaseBrad King2022-02-031-0/+2
| | | | | | | | | Run the script: Utilities/Sphinx/update_versions.py --since v3.22.0 --overwrite Manually select updates that really belong to the 3.23 release, as against adding documentation for previously-existing entities.
* Add usage requirements to update direct link dependenciesBrad King2022-01-291-0/+221
Link line construction starts with `LINK_LIBRARIES` and appends dependencies from the transitive closure of `INTERFACE_LINK_LIBRARIES`. Only the entries of `LINK_LIBRARIES` are considered direct link dependencies. In some advanced use cases, particularly involving static libraries and static plugins, usage requirements need to update the list of direct link dependencies. This may mean adding new items, removing existing items, or both. Add target properties to encode these usage requirements: * INTERFACE_LINK_LIBRARIES_DIRECT * INTERFACE_LINK_LIBRARIES_DIRECT_EXCLUDE Fixes: #22496