Combine all boot build stuff in a single scons tool
[senf.git] / Utils / Daemon / SConscript
index 2ca29de..9c34fd8 100644 (file)
@@ -5,13 +5,9 @@ import SENFSCons, glob
 
 ###########################################################################
 
-SENFSCons.StandardTargets(env)
-
-sources = SENFSCons.GlobSources()
-
-SENFSCons.Lib( env,
-               library = 'Utils_Daemon',
-               sources = sources,
-               LIBS = [ 'Logger', 'Scheduler', 'Socket', 'Utils' ] )
+sources, tests, includes = SENFSCons.Glob(env)
 
+env.Append(ALLOBJECTS = env.Object(sources))
+env.BoostUnitTest('test', tests)
 SENFSCons.Doxygen(env)
+env.InstallSubdir('$INCLUDEINSTALLDIR', includes)