mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:33:00 +00:00
[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:
parent
2a6bccb4ce
commit
92dfec219d
9 changed files with 32 additions and 21 deletions
|
@ -83,9 +83,12 @@ set(_PREFAST_ FALSE CACHE BOOL
|
|||
"Whether to enable PREFAST while compiling.")
|
||||
set(_VS_ANALYZE_ FALSE CACHE BOOL
|
||||
"Whether to enable static analysis while compiling.")
|
||||
else()
|
||||
set(STACK_PROTECTOR FALSE CACHE BOOL
|
||||
"Whether to enbable the GCC stack checker while compiling")
|
||||
|
||||
option(RUNTIME_CHECKS "Whether to enable runtime checks on MSVC" ON)
|
||||
endif()
|
||||
|
||||
if(GCC)
|
||||
option(STACK_PROTECTOR "Whether to enable the GCC stack checker while compiling" OFF)
|
||||
endif()
|
||||
|
||||
set(USE_DUMMY_PSEH FALSE CACHE BOOL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue