X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FSConscript;h=71810974609df520ef5f3360007054d277a64606;hb=164fe477094d42463722584e527a02379ab5d985;hp=1819533cfc7b390705447c9181be6a643322ab28;hpb=b41b8147c7a2d40e2f69471e183840be8a0b95da;p=senf.git diff --git a/Utils/SConscript b/Utils/SConscript index 1819533..7181097 100644 --- a/Utils/SConscript +++ b/Utils/SConscript @@ -1,22 +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, testSources=testSources ) - -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) -SENFSCons.InstallIncludeFiles(env, [ 'Logger.hh', 'Daemon.hh' ]) +env.InstallSubdir('$INCLUDEINSTALLDIR', includes) + +SConscript(glob.glob("*/SConscript"))