Add more compiler flags for MSVC.

This commit is contained in:
kai
2012-07-14 21:45:24 +02:00
parent cb77cca0d3
commit 32a2fff634

View File

@@ -289,7 +289,7 @@ if(USE_METADATA)
endif(USE_METADATA)
if(MSVC)
set(EXTRA_CXXFLAGS /W0)
set(EXTRA_CXXFLAGS "/W0 /wd4996 /GF /GR- /RTC1")
else()
set(EXTRA_CXXFLAGS "-Wno-deprecated -Wno-write-strings -fexceptions")
endif()