Simplify ALlIncludesHH usage
[senf.git] / Utils / Logger / SConscript
index bd53fae..dd2bd23 100644 (file)
@@ -5,13 +5,11 @@ import SENFSCons, glob
 
 ###########################################################################
 
-SENFSCons.StandardTargets(env)
+SENFSCons.AllIncludesHH(env, exclude=['Logger.hh','SenfLog.hh'])
 
-SENFSCons.AllIncludesHH(env, [ f for f in glob.glob("*.hh")
-                               if f not in ('all_includes.hh','INet.hh') and not f.endswith('.test.hh') ])
-sources = SENFSCons.GlobSources()
-objects = SENFSCons.Objects( env, sources = sources )
+sources, tests, includes = SENFSCons.Glob(env)
 
+env.Append(ALLOBJECTS = env.Object(sources))
+env.BoostUnitTest('test', tests)
 SENFSCons.Doxygen(env)
-
-Return('objects')
+env.InstallSubdir('$INCLUDEINSTALLDIR', includes)