Multithread compilation of Dawn targets on MSVC
This commit is contained in:
parent
49a65d0c0c
commit
deb5d33643
|
@ -99,6 +99,7 @@ endif()
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
list(APPEND DAWN_FLAGS "/std:c++14")
|
list(APPEND DAWN_FLAGS "/std:c++14")
|
||||||
list(APPEND DAWN_FLAGS "/EHsc")
|
list(APPEND DAWN_FLAGS "/EHsc")
|
||||||
|
list(APPEND DAWN_FLAGS "/MP")
|
||||||
list(APPEND DAWN_INTERNAL_FLAGS "/W4")
|
list(APPEND DAWN_INTERNAL_FLAGS "/W4")
|
||||||
# Allow declarations hiding members as it is used all over Dawn
|
# Allow declarations hiding members as it is used all over Dawn
|
||||||
list(APPEND DAWN_INTERNAL_FLAGS "/wd4458")
|
list(APPEND DAWN_INTERNAL_FLAGS "/wd4458")
|
||||||
|
|
Loading…
Reference in New Issue