mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-04 22:13:14 +01:00
Add more compiler flags for MSVC.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user