import sys, glob sys.path.append('senfscons') import SENFSCons ########################################################################### SENFSCons.UseBoost(); SENFSCons.UseSTLPort(); env = SENFSCons.MakeEnvironment(); env.Append( CPPPATH = [ '#' ], LIBS = [ 'iberty' ] ) Export('env') SConscript(glob.glob("*/SConscript")) SENFSCons.StandardTargets(env) SENFSCons.GlobalTargets(env) SENFSCons.Binary(env, binary='mediaserv', sources=SENFSCons.GlobSources(exclude='testclient.cc'), LIBS = [ 'Server', 'Scheduler', 'Socket', 'Utils' ]) SENFSCons.Binary(env, binary='testclient', sources=['testclient.cc'], LIBS = [ 'Socket', 'Utils' ])