summaryrefslogtreecommitdiffstats
path: root/Help/policy/CMP0132.rst
Commit message (Collapse)AuthorAgeFilesLines
* Help: Add missing one-line summary to policy CMP0132Brad King2024-11-111-0/+2
| | | | | This was missed in commit 05e510bf0b (CMP0132: Don't set compiler environment variables on first run, 2022-03-23, v3.24.0-rc1~380^2).
* Help: Normalize and consolidate standard policy advice paragraphBrad King2024-01-111-4/+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.
* CMP0132: Don't set compiler environment variables on first runCraig Scott2022-03-291-0/+26
When running CMake for the first time in a build tree, for some generators CMake would set compiler environment variables like CC, CXX, etc. when the corresponding language is enabled. That behavior was never documented and can result in different behavior between the first and subsequent runs. Add a policy to no longer set those environment variables. Fixes: #21378