CMake: bump warning level from 3 to 4 for msvc builds

This enables, among other things, warnings on unused variables, which
matches our default Clang and GCC builds.

Change-Id: I3f405b1a5c30e428542cd72d50f07910e477cea6
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/44880
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
This commit is contained in:
Antonio Maiorano 2021-03-16 15:05:33 +00:00 committed by Commit Bot service account
parent 63c87d9582
commit ac39fb44bb
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ function(tint_default_compile_options TARGET)
target_compile_options(${TARGET} PRIVATE
/bigobj
/EHsc
/W3
/W4
/WX
/wd4068
/wd4244