X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSConscript;h=2e9bd62a5a19a007c010d7c8a6a35f862f88d566;hb=164fe477094d42463722584e527a02379ab5d985;hp=5206292cd99dd65e3e1fea0bfcfa1b8b2030714c;hpb=b1f9349b1f3521d58cbef52ead0f2e5303a58c9e;p=senf.git diff --git a/Socket/SConscript b/Socket/SConscript index 5206292..2e9bd62 100644 --- a/Socket/SConscript +++ b/Socket/SConscript @@ -7,12 +7,12 @@ import SENFSCons, glob SConscript(glob.glob("*/SConscript")) -SENFSCons.AllIncludesHH(env, [ f for f in glob.glob("*.hh") - if f not in ('all_includes.hh','Socket.hh') and not f.endswith('.test.hh') ]) +SENFSCons.AllIncludesHH(env, exclude=['Socket.hh']) -sources, includes = SENFSCons.Glob(env) +sources, tests, includes = SENFSCons.Glob(env) -SENFSCons.Lib(env, sources = sources) +env.Append(ALLOBJECTS = env.Object(sources)) +env.BoostUnitTest('test', tests) SENFSCons.Doxygen(env, extra_sources = [ env.Dia2Png('SocketLibrary-classes.dia'), env.Dia2Png('FhHierarchy.dia'), @@ -20,5 +20,4 @@ SENFSCons.Doxygen(env, extra_sources = [ env.Dia2Png('Protocols.dia'), env.Dia2Png('Handle.dia'), ]) - -env.InstallSubdir(target = '$INCLUDEINSTALLDIR', source = includes) +env.InstallSubdir('$INCLUDEINSTALLDIR', includes)