Commit 480be2ed authored by jcfr's avatar jcfr
Browse files

COMP: Add default C/CXX flags associated with MSVC compiler

git-svn-id: 3bd1e089-480b-0410-8dfb-8563597acbee
parent 7dd2d59f
......@@ -192,6 +192,10 @@ IF(CMAKE_COMPILER_IS_GNUCXX)
# Let's postpone the use of -Wsign-promo
SET(Slicer_C_FLAGS "${cflags} ${Slicer_C_FLAGS}")
SET(Slicer_CXX_FLAGS "${cflags} -Wno-deprecated -Woverloaded-virtual -Wstrict-null-sentinel ${Slicer_CXX_FLAGS}")
SET(cflags "/Zm1000 /W3")
SET(Slicer_C_FLAGS "${cflags} ${Slicer_C_FLAGS}")
SET(Slicer_CXX_FLAGS "${cflags} /EHsc /GR ${Slicer_CXX_FLAGS}")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment