Combine all boot build stuff in a single scons tool
[senf.git] / Socket / Protocols / SConscript
index dee839e..a55a9e0 100644 (file)
@@ -7,6 +7,8 @@ import SENFSCons, glob
 
 SConscript(glob.glob("*/SConscript"))
 
-sources, includes = SENFSCons.Glob(env)
-SENFSCons.Lib(env, sources)
-SENFSCons.InstallIncludeFiles(env, includes)
+sources, tests, includes = SENFSCons.Glob(env)
+
+env.Append(ALLOBJECTS = env.Object(sources))
+env.BoostUnitTest('test', tests)
+env.InstallSubdir('$INCLUDEINSTALLDIR', includes)