add WARNINGS_AS_ERRORS cmake option (#176)

This commit is contained in:
Ben Morse
2018-05-10 17:46:11 -07:00
committed by GitHub
parent aa02012c14
commit 566076e3d8
3 changed files with 11 additions and 1 deletions

View File

@ -286,6 +286,8 @@ def libs(clean, static, shared, skip_formatter, just_release):
if IS_BUILD_MACHINE:
just_release = True
static_options['WARNINGS_AS_ERRORS'] = True
dynamic_options['WARNINGS_AS_ERRORS'] = True
if PLATFORM == 'win':
generator32 = 'Visual Studio 14 2015'