Utils/Logger: Complete unit testing
[senf.git] / Utils / SConscript
index 81cb37c..561137b 100644 (file)
@@ -1,7 +1,21 @@
+# -*- python -*-
+
 Import('env')
-import SatSCons
+import SENFSCons, glob
 
 ###########################################################################
 
-SatSCons.StandardTargets(env)
-SatSCons.Lib(env, 'Utils',  SatSCons.GlobSources())
+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)