X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSConscript;h=2e9bd62a5a19a007c010d7c8a6a35f862f88d566;hb=164fe477094d42463722584e527a02379ab5d985;hp=56ae5d479ccd32e8bb08a6894f4b6784d25a0086;hpb=e069f918a83434f6f6fe6656013340f2ec2492c4;p=senf.git diff --git a/Socket/SConscript b/Socket/SConscript index 56ae5d4..2e9bd62 100644 --- a/Socket/SConscript +++ b/Socket/SConscript @@ -1,19 +1,18 @@ # -*- python -*- Import('env') -import SENFSCons +import SENFSCons, glob ########################################################################### -sources = SENFSCons.GlobSources() +SConscript(glob.glob("*/SConscript")) -SENFSCons.StandardTargets(env) +SENFSCons.AllIncludesHH(env, exclude=['Socket.hh']) -SENFSCons.Lib(env, - library = 'Socket', - sources = sources, - LIBS = [ 'Utils' ]) +sources, tests, includes = SENFSCons.Glob(env) +env.Append(ALLOBJECTS = env.Object(sources)) +env.BoostUnitTest('test', tests) SENFSCons.Doxygen(env, extra_sources = [ env.Dia2Png('SocketLibrary-classes.dia'), env.Dia2Png('FhHierarchy.dia'), @@ -21,3 +20,4 @@ SENFSCons.Doxygen(env, extra_sources = [ env.Dia2Png('Protocols.dia'), env.Dia2Png('Handle.dia'), ]) +env.InstallSubdir('$INCLUDEINSTALLDIR', includes)