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