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