1
0
Fork 0

If V8_TARGET_ARCHS is parametrized from external, only compile the specified targets.

This commit is contained in:
Wilfried Goesgens 2016-06-10 17:54:05 +02:00
parent f0cb8b936f
commit 5cd9af937e
1 changed files with 3 additions and 2 deletions

View File

@ -203,8 +203,9 @@ elseif (WIN32)
list(APPEND V8_GYP_ARGS -Dtarget_arch=${V8_PROC_ARCH} -Dhost_arch=${V8_PROC_ARCH})
list(APPEND V8_GYP_ARGS ${V8_DIR}/build/all.gyp)
set(V8_TARGET_ARCHS "Debug;Release" CACHE string "V8 targets to build")
if ("${V8_TARGET_ARCHS}" STREQUAL "")
set(V8_TARGET_ARCHS "Debug;Release" CACHE string "V8 targets to build")
endif()
list(APPEND V8_GYP_ARGS
-Dcomponent=static_library
-Dlibrary=static_library