Utils/Logger: Implement TimeSource facility
[senf.git] / Utils / SConscript
index baa117a..561137b 100644 (file)
@@ -1,11 +1,21 @@
 # -*- python -*-
 
 Import('env')
-import SENFSCons
+import SENFSCons, glob
 
 ###########################################################################
 
-sources = SENFSCons.GlobSources()
 SENFSCons.StandardTargets(env)
-SENFSCons.Lib(env, 'Utils', sources)
+
+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)