14 lines
503 B
Python
14 lines
503 B
Python
|
|
def configure( env , fileLists , options ):
|
|
#fileLists = { "serverOnlyFiles" : [] }
|
|
|
|
myenv = env.Clone()
|
|
if not options["windows"]:
|
|
myenv.Append(CPPFLAGS=" -Wno-sign-compare -Wno-unused-function ") #snappy doesn't compile cleanly
|
|
|
|
files = ["third_party/snappy/snappy.cc", "third_party/snappy/snappy-sinksource.cc"]
|
|
|
|
fileLists["serverOnlyFiles"] += [ myenv.Object(f) for f in files ]
|
|
|
|
def configureSystem( env , fileLists , options ):
|
|
env.Append( LIBS=[ "snappy" ] )
|