all unit tests: replaced BOOST_AUTO_UNIT_TEST with new SENF_AUTO_UNIT_TEST macro
[senf.git] / Examples / SConscript
index 60c1337..9ef20a0 100644 (file)
@@ -15,7 +15,9 @@ for sconstruct in glob.glob("*/SConstruct"):
                         [ '$SCONS -C $EXAMPLEDIR' ],
                         CONCURRENCY_LEVEL=1, EXAMPLEDIR=dir)
     env.Alias('examples', example)
-
+    if env.GetOption('clean') and ('all' in BUILD_TARGETS or 'examples' in BUILD_TARGETS):
+        env.Clone(CONCURRENCY_LEVEL=1, EXAMPLEDIR=dir).Execute([ '$SCONS -C $EXAMPLEDIR -c' ])
+                    
 
 for dox in glob.glob("*/Doxyfile"):
     extra_sources = [ eval(line.split(':',1)[1])