X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSConscript;h=2e9bd62a5a19a007c010d7c8a6a35f862f88d566;hb=164fe477094d42463722584e527a02379ab5d985;hp=0e7b440dde548ef771db8c5e5cca07d743e72ded;hpb=8b51cbcf5c5d3056e88e4b9d9939bcd2fab59f45;p=senf.git diff --git a/Socket/SConscript b/Socket/SConscript index 0e7b440..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,4 +20,4 @@ SENFSCons.Doxygen(env, extra_sources = [ env.Dia2Png('Protocols.dia'), env.Dia2Png('Handle.dia'), ]) -SENFSCons.InstallIncludeFiles(env, includes) +env.InstallSubdir('$INCLUDEINSTALLDIR', includes)