compilers: add werror flag for msvc

pull/1022/head
Scott D Phillips 8 years ago committed by Jussi Pakkanen
parent 3a84136268
commit 3db969336f
  1. 3
      mesonbuild/compilers.py

@ -1854,6 +1854,9 @@ class VisualStudioCCompiler(CCompiler):
result.append(i)
return result
def get_werror_args(self):
return ['/WX']
def get_include_args(self, path, is_system):
if path == '':
path = '.'

Loading…
Cancel
Save