[CMAKE][CONFIGURE] Enable runtime checks on MSVC by default.

Remove RTC switch from configure.cmd, now MSVC runtime checks are
supposed to be enabled/disabled via CMake define (-DRUNTIME_CHECKS=1)
Prepare for adding more dynamic analysis options
This commit is contained in:
Victor Perevertkin 2020-04-09 04:40:17 +03:00
parent 2a6bccb4ce
commit 92dfec219d
No known key found for this signature in database
GPG key ID: C750B7222E9C7830
9 changed files with 32 additions and 21 deletions

View file

@ -151,10 +151,6 @@ if(MSVC_IDE AND (NOT DEFINED USE_FOLDER_STRUCTURE))
set(USE_FOLDER_STRUCTURE TRUE)
endif()
if(NOT DEFINED RUNTIME_CHECKS)
set(RUNTIME_CHECKS FALSE)
endif()
if(RUNTIME_CHECKS)
add_definitions(-D__RUNTIME_CHECKS__)
add_compile_flags("/RTC1")