summaryrefslogtreecommitdiffstats
path: root/Help/policy/CMP0126.rst
Commit message (Collapse)AuthorAgeFilesLines
* Help: Normalize and consolidate standard policy advice paragraphBrad King2024-01-111-7/+9
| | | | | | | | 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: Clarify CMP0126 OLD behavior for FORCE and INTERNALCraig Scott2021-12-201-0/+3
| | | Fixes: #23022
* Help: Suggest CMAKE_POLICY_DEFAULT_CMP0126 in CMP0126 docsBrad King2021-11-221-1/+4
|
* Help: Make policy CMP0126 wording more accurate Craig Scott2021-07-171-7/+16
| | | | | | | | | The OLD behavior only removes a non-cache variable of the same name in specific circumstances. The previous wording implied that it would always occur. Also add a note about the behavior compared to the analogous CMP0077 policy, which affects the option() command in a similar but subtly different way.
* CMP0126: Add control for warningsMarc Chevrier2021-06-291-1/+3
| | | | Fixes: #22353
* set(CACHE): do not remove normal variableMarc Chevrier2021-05-201-0/+20
Fixes: #22038