0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00

scons dur

This commit is contained in:
dwight 2010-11-15 14:22:00 -05:00
parent 3e55d0d0cc
commit 0813c481af

View File

@ -126,12 +126,12 @@ AddOption( "--dd",
action="store",
help="debug build no optimization, additional debug logging, etc..." )
AddOption( "--recstore",
dest="recstore",
AddOption( "--durable",
dest="durable",
type="string",
nargs=0,
action="store",
help="use new recstore" )
help="durability build" )
AddOption( "--noshell",
dest="noshell",
@ -330,8 +330,9 @@ if GetOption( "libpath" ) is not None:
if GetOption( "cpppath" ) is not None:
env["CPPPATH"] = [GetOption( "cpppath" )]
if GetOption( "recstore" ) != None:
env.Append( CPPDEFINES=[ "_RECSTORE" ] )
if GetOption( "durable" ) != None:
env.Append( CPPDEFINES=[ "_DURABLE" ] )
env.Append( CPPDEFINES=[ "_SCONS" , "MONGO_EXPOSE_MACROS" ] )
env.Append( CPPPATH=[ "." ] )