mirror of https://gitee.com/bigwinds/arangodb
Add /Z7 switch to V8 gyp (#9127)
This commit is contained in:
parent
00fd5eebe2
commit
62d3d325e8
|
@ -123,6 +123,12 @@ if (WIN32)
|
|||
MESSAGE(STATUS "Building V8 for Windows with MSBUILD")
|
||||
set(GYP_MAIN gypfiles/gyp_v8)
|
||||
|
||||
if (USE_CLCACHE_MODE)
|
||||
list(APPEND V8_GYP_ARGS "-Duse_clcache_mode=true")
|
||||
else ()
|
||||
list(APPEND V8_GYP_ARGS "-Duse_clcache_mode=false")
|
||||
endif()
|
||||
|
||||
if (${CMAKE_GENERATOR} MATCHES "2013")
|
||||
# try to find 2013 in 'Visual Studio 12 2013 Win64'
|
||||
set(GYP_MSVS_VERSION "2013")
|
||||
|
|
|
@ -88,6 +88,9 @@
|
|||
# Default sysroot if no sysroot can be provided.
|
||||
'sysroot%': '',
|
||||
|
||||
# Default clcache mode if no use_clcache_mode can be provided.
|
||||
'use_clcache_mode%': 'false',
|
||||
|
||||
'conditions': [
|
||||
# The system root for linux builds.
|
||||
['OS=="linux" and use_sysroot==1', {
|
||||
|
@ -943,9 +946,13 @@
|
|||
'RuntimeTypeInfo': 'false',
|
||||
'WarningLevel': '3',
|
||||
'WarnAsError': 'true',
|
||||
'DebugInformationFormat': '3',
|
||||
'Detect64BitPortabilityProblems': 'false',
|
||||
'conditions': [
|
||||
['use_clcache_mode=="true"', {
|
||||
'DebugInformationFormat': '1',
|
||||
}, {
|
||||
'DebugInformationFormat': '3',
|
||||
}],
|
||||
[ 'msvs_multi_core_compile', {
|
||||
'AdditionalOptions': ['/MP'],
|
||||
}],
|
||||
|
|
Loading…
Reference in New Issue