Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Help: Normalize and consolidate standard policy advice paragraph | Brad King | 2024-01-11 | 1 | -4/+5 |
| | | | | | | | | 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: Cleanup typos and grammar for the 3.19 release | Craig Scott | 2020-10-24 | 1 | -1/+1 |
| | |||||
* | ExternalProject: Add policy CMP0114 to refine step target dependencies | Brad King | 2020-09-14 | 1 | -0/+85 |
`ExternalProject_Add_StepTargets` and `INDEPENDENT_STEP_TARGETS` have some limitations and lack some sanity checks. They can cause confusing build systems to be generated. The basic problems are: * The notion of step independence is attached to the step target rather than the step itself. * The custom commands implementing the steps are duplicated in the step targets and the primary targets. This can cause races. It is also incompatible with the Xcode "new build system". Fix this by introducing policy CMP0114 to change the way step target dependencies are handled. Define independence from external dependencies as a property of each individual step regardless of whether there is a target for it. Add dependencies among the primary target and the step targets such that each custom command only appears in one target. When some steps are disconnected from the primary target, add step targets for the steps commonly depended upon so that there is a place to hold their custom commands uniquely. Fixes: #18663 |