Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add deprecation warnings for policies CMP0094 and below | Brad King | 2021-10-08 | 1 | -0/+10 |
| | | | | | | | The OLD behaviors of all policies are deprecated, but only by documentation. Add an explicit deprecation diagnostic for policies introduced in CMake 3.15 and below to encourage projects to port away from setting policies to OLD. | ||||
* | cmake: Display error if generate step fails | Kyle Edwards | 2019-05-13 | 1 | -1/+3 |
| | |||||
* | MSVC: Add abstraction for runtime library selection | Brad King | 2019-04-17 | 9 | -0/+54 |
Replace our hard-coded defaults for `/MD` and `/MDd` with a first-class abstraction to select the runtime library from an enumeration of logical names. We've long hesitated to do this because the idea of "runtime library selection" touches on related concepts on several platforms. Avoid that scope creep by simply defining an abstraction that applies only when targeting the MSVC ABI on Windows. Removing the old default flags requires a policy because existing projects may rely on string processing to edit them and choose a runtime library under the old behavior. Add policy CMP0091 to provide compatibility. Fixes: #19108 |