mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 17:10:48 +01:00
windows release option
This commit is contained in:
parent
693a560764
commit
12a608a3ab
13
SConstruct
13
SConstruct
@ -238,10 +238,17 @@ elif "win32" == os.sys.platform:
|
||||
|
||||
env.Append( CPPPATH=[ boostDir , javaHome + "/include" , javaHome + "/include/win32" , "pcre-7.4" , winSDKHome + "/Include" ] )
|
||||
|
||||
# /Fo"Debug\\" /Fd"Debug\vc90.pdb"
|
||||
env.Append( CPPFLAGS=" /EHsc /W3 " )
|
||||
env.Append( CPPDEFINES=["WIN32","_CONSOLE","_CRT_SECURE_NO_WARNINGS","HAVE_CONFIG_H","PCRE_STATIC","_UNICODE","UNICODE" ] )
|
||||
|
||||
env.Append( CPPFLAGS=" /Od /EHsc /Gm /RTC1 /MDd /ZI /W3 " )
|
||||
env.Append( CPPDEFINES=["WIN32","_DEBUG","_CONSOLE","_CRT_SECURE_NO_WARNINGS","HAVE_CONFIG_H","PCRE_STATIC","_UNICODE","UNICODE" ] )
|
||||
if release:
|
||||
env.Append( CPPDEFINES=[ "NDEBUG" ] )
|
||||
env.Append( CPPFLAGS= " /O2 /Oi /GL /FD /MD /Gy /nologo /Zi /TP /errorReport:prompt /Gm " )
|
||||
# /Yu"stdafx.h" /Fp"Release\db.pch" /Fo"Release\\" /Fd"Release\vc90.pdb"
|
||||
else:
|
||||
env.Append( CPPDEFINES=[ "_DEBUG" ] )
|
||||
env.Append( CPPFLAGS=" /Od /Gm /RTC1 /MDd /ZI " )
|
||||
# /Fo"Debug\\" /Fd"Debug\vc90.pdb"
|
||||
|
||||
env.Append( LIBPATH=[ boostDir + "/Lib" , javaHome + "/Lib" , winSDKHome + "/Lib" ] )
|
||||
javaLibs += [ "jvm" ];
|
||||
|
Loading…
Reference in New Issue
Block a user