diff options
| author | AJIOB <aleksandr9809@gmail.com> | 2025-01-22 10:10:03 (GMT) |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2025-01-29 18:07:41 (GMT) |
| commit | 2b2344b4129a57548d0457d367f7e442cc51eef6 (patch) | |
| tree | 97351c15ee147e5db2df621834e0e22cd6a9a381 /Tests/RunCMake/FindPython/Python3SABIModule.cmake | |
| parent | 49dcd1ce5d8f9735064d5bfe25b05c58c5c68856 (diff) | |
| download | CMake-2b2344b4129a57548d0457d367f7e442cc51eef6.zip CMake-2b2344b4129a57548d0457d367f7e442cc51eef6.tar.gz CMake-2b2344b4129a57548d0457d367f7e442cc51eef6.tar.bz2 | |
MSVC: Add abstraction for runtime checks
Replace our hard-coded default for `/RTC1` with a first-class
abstraction to select runtime checks from an enumeration of logical
names. Add a `MSVC_RUNTIME_CHECKS` target property and corresponding
`CMAKE_MSVC_RUNTIME_CHECKS` variable.
Removing the old default flag requires a policy because existing
projects may rely on string processing to edit them and choose
runtime checks under the old behavior. Add policy CMP0184 to
provide compatibility.
Fixes: #26614
Diffstat (limited to 'Tests/RunCMake/FindPython/Python3SABIModule.cmake')
0 files changed, 0 insertions, 0 deletions
