blob: e9881106c8782cf787f36186897a030f518c7370 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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" ] )
|