6 ###########################################################################
8 SENFSCons.IndexPage(env, 'Mainpage.dox', title="Examples")
10 SENFSCons.Doxygen(env)
12 for sconstruct in glob.glob("*/SConstruct"):
13 dir=env.File(sconstruct).dir
14 example=env.Command(dir.File('.example.phony'), env.Alias('default'),
15 [ '$SCONS -C $EXAMPLEDIR' ],
16 CONCURRENCY_LEVEL=1, EXAMPLEDIR=dir)
17 env.Alias('examples', example)
20 for dox in glob.glob("*/Doxyfile"):
21 extra_sources = [ eval(line.split(':',1)[1])
23 if line.startswith("# extra_source: ") ]
24 SENFSCons.Doxygen(env, doxyfile=dox, extra_sources=extra_sources)