summaryrefslogtreecommitdiffstats
path: root/Help/policy/CMP0037.rst
Commit message (Collapse)AuthorAgeFilesLines
* Help: Normalize and consolidate standard policy advice paragraphBrad King2024-01-111-3/+3
| | | | | | | | Every policy's documentation has a paragraph on what version of CMake introduced it, how to set the policy, and whether CMake warns if the policy is not set. The wording of this paragraph has diverged across policies over time. Factor the paragraph out into a standard advice document included by every policy.
* Help: Improve documentation formatingBartosz Kosiorek2019-04-041-2/+3
|
* Help: Improve documentation links and formattingBartosz Kosiorek2019-03-271-10/+10
|
* Various typo fixesLuz Paz2018-01-031-1/+1
| | | | Some are user-facing. Others are source comments.
* Help: Document CMP0037 relaxation of test and package targetsBrad King2017-11-011-1/+6
| | | | | | | Update documentation to account for commit ae5f40696e (CMP0037: Allow test and package targets when features are not enabled, 2017-10-26). Issue: #16062
* 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.
* Help: Fix CMP0037 docs.Stephen Kelly2013-12-191-1/+1
| | | | | INTERFACE libraries may not use double-colons, but IMPORTED targets may.
* CMP0037: Extend policy to reserved names and custom targetsNils Gladitz2013-11-191-6/+11
| | | | | | | | Teach add_custom_target to check the policy too. Extend the policy to disallow reserved target names that we use for builtin targets like "all". Extend the RunCMake.CMP0037 test to cover these cases.
* Disallow invalid target names (#13140)Stephen Kelly2013-11-071-0/+21
Exclude Borland and NMake from the CMP0037 test. They do not accept the colon in a target name.