summaryrefslogtreecommitdiff
path: root/Help/policy/CMP0028.rst
Commit message (Collapse)AuthorAgeFilesLines
* target_link_libraries: Optionally require only target namesBrad King2021-12-201-0/+2
| | | | | | | | | | Optionally verify that items in `LINK_LIBRARIES` and `INTERFACE_LINK_LIBRARIES` that can be target names are actually target names. Add a `LINK_LIBRARIES_ONLY_TARGETS` target property and corresponding `CMAKE_LINK_LIBRARIES_ONLY_TARGETS` variable to enable this new check. Fixes: #22858
* Help: Improve documentation links and formattingBartosz Kosiorek2019-03-271-13/+13
|
* Help: Document explicitly that policy OLD behavior is deprecatedBrad King2015-06-091-0/+2
| | | | | | | | | | | The most likely documentation page a project author will read in response to a policy warning is the page for the policy itself. Add to every policy documentation page a note explicitly stating that the OLD behavior is deprecated. Also mention this in the cmake_policy() command documentation that explains how to set a policy to OLD. Suggested-by: Fraser Hutchison <fraser.hutchison@gmail.com>
* Help: Change version 3.0.0 -> 3.0 in policy docsBrad King2014-02-101-1/+1
| | | | | | Starting with 3.0 we will use only two components for the feature level, and policies are only ever introduced with a bump to the feature level version.
* Consider targets with double colons to be IMPORTED or ALIAS targets.Stephen Kelly2013-10-211-0/+23
Introduce a policy to control the behavior. The AliasTargets unit test already tests that using a double-semicolon in the name is not an error. Change the ExportImport test to use a namespace with a double-semicolon too.