CMakeLists: Treat MSVC warnings as errors

This commit is contained in:
Morph 2022-10-21 02:34:06 -04:00
parent e6ab1f673b
commit f3c40f4a20
4 changed files with 2 additions and 3 deletions

View file

@ -58,6 +58,8 @@ if (MSVC)
# Warnings
/W3
/WX
/we4018 # 'expression': signed/unsigned mismatch
/we4062 # Enumerator 'identifier' in a switch of enum 'enumeration' is not handled
/we4101 # 'identifier': unreferenced local variable