Skip to content
Snippets Groups Projects
Commit b56caf95 authored by Lars Bilke's avatar Lars Bilke
Browse files

Disabled 'Fast Runtime Checks' on Visual Studio as they slow down debug builds unnecessary.

parent fa436db8
No related branches found
No related tags found
No related merge requests found
INCLUDE(ResetConfigurations) # To Debug, Release, RelWithDbgInfo
INCLUDE(SetDefaultBuildType)
INCLUDE(DisableCompilerFlag)
SET_DEFAULT_BUILD_TYPE(Debug)
INCLUDE(MSVCMultipleProcessCompile) # /MP switch (multi processor) for VS
......@@ -67,6 +68,8 @@ IF (WIN32)
)
# Sets warning level 3 and ignores some warnings
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W3 /wd4290 /wd4267")
DisableCompilerFlag(DEBUG /RTC1)
# cygwin
ELSE (MSVC)
MESSAGE (STATUS "Might be GCC under cygwin.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment