X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FSConscript;h=71810974609df520ef5f3360007054d277a64606;hb=164fe477094d42463722584e527a02379ab5d985;hp=8d67e70d5fd8dbfd89f547439f028e4050e6bc0f;hpb=b52002fa2001e6472d6aa3dde263b85f654c6e8e;p=senf.git diff --git a/Utils/SConscript b/Utils/SConscript index 8d67e70..7181097 100644 --- a/Utils/SConscript +++ b/Utils/SConscript @@ -1,21 +1,15 @@ # -*- python -*- Import('env') -import SENFSCons, glob +import SENFSCons, glob, os.path ########################################################################### -SENFSCons.StandardTargets(env) - -sources, testSources = SENFSCons.GlobSources() -objects = SENFSCons.Objects( env, sources = sources ) - -for sc in glob.glob("*/SConscript"): - ob = SConscript(sc) - if ob : objects.extend(ob) - -SENFSCons.Lib(env, - library = 'Utils', - sources = objects) +sources, tests, includes = SENFSCons.Glob(env, subdirs=[ 'impl' ]) +env.Append(ALLOBJECTS = env.Object(sources)) +env.BoostUnitTest('test', tests) SENFSCons.Doxygen(env) +env.InstallSubdir('$INCLUDEINSTALLDIR', includes) + +SConscript(glob.glob("*/SConscript"))