summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FindPython/FindPythonScript.cmake
diff options
context:
space:
mode:
authorAJIOB <aleksandr9809@gmail.com>2025-01-22 10:10:03 (GMT)
committerBrad King <brad.king@kitware.com>2025-01-29 18:07:41 (GMT)
commit2b2344b4129a57548d0457d367f7e442cc51eef6 (patch)
tree97351c15ee147e5db2df621834e0e22cd6a9a381 /Tests/RunCMake/FindPython/FindPythonScript.cmake
parent49dcd1ce5d8f9735064d5bfe25b05c58c5c68856 (diff)
downloadCMake-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/FindPythonScript.cmake')
0 files changed, 0 insertions, 0 deletions