Fix SCons 1.2.0 build failure
[senf.git] / Scheduler / SConscript
index ef26f80..a91f80a 100644 (file)
@@ -5,10 +5,9 @@ import SENFSCons
 
 ###########################################################################
 
-sources = SENFSCons.GlobSources()
-SENFSCons.StandardTargets(env)
-SENFSCons.Lib(env,
-             library = 'Scheduler',
-             sources = sources,
-             LIBS = [ '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)