X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FSConscript;h=561137b49fe2c5f195d52cee689db03d2820b58c;hb=82ad2ed94c12c3e53097fef92978de8c28239fab;hp=c679e5f1d8962c102db446767f897f464dcbbecd;hpb=11b5ed5acaf415f8a3d1ebb165aab76ea7c71179;p=senf.git diff --git a/Utils/SConscript b/Utils/SConscript index c679e5f..561137b 100644 --- a/Utils/SConscript +++ b/Utils/SConscript @@ -1,11 +1,21 @@ # -*- python -*- Import('env') -import SatSCons +import SENFSCons, glob ########################################################################### -sources = SatSCons.GlobSources() -SatSCons.StandardTargets(env) -SatSCons.Lib(env, 'Utils', sources) -SatSCons.Doxygen(env) +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) + +SENFSCons.Doxygen(env)