Multithread compilation of Dawn targets on MSVC

This commit is contained in:
Corentin Wallez 2018-07-25 12:42:40 +02:00 committed by Corentin Wallez
parent 49a65d0c0c
commit deb5d33643
1 changed files with 1 additions and 0 deletions

View File

@ -99,6 +99,7 @@ endif()
if (MSVC)
list(APPEND DAWN_FLAGS "/std:c++14")
list(APPEND DAWN_FLAGS "/EHsc")
list(APPEND DAWN_FLAGS "/MP")
list(APPEND DAWN_INTERNAL_FLAGS "/W4")
# Allow declarations hiding members as it is used all over Dawn
list(APPEND DAWN_INTERNAL_FLAGS "/wd4458")