summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/MSVCRuntimeLibrary
Commit message (Collapse)AuthorAgeFilesLines
* Add deprecation warnings for policies CMP0094 and belowBrad King2021-10-081-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 failsKyle Edwards2019-05-131-1/+3
|
* MSVC: Add abstraction for runtime library selectionBrad King2019-04-179-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