Combine all boot build stuff in a single scons tool
[senf.git] / PPI / SConscript
1 # -*- python -*-
2
3 Import('env')
4 import SENFSCons, glob
5
6 ###########################################################################
7
8 SConscript(glob.glob("*/SConscript"))
9
10 SENFSCons.AllIncludesHH(env, [ f for f in glob.glob("*.hh")
11                                if f not in ('all_includes.hh','PPI.hh') \
12                                   and not f.endswith('.test.hh') ])
13
14 sources, tests, includes = SENFSCons.Glob(env, subdirs=[ 'detail' ])
15
16 env.Append(ALLOBJECTS = env.Object(sources))
17 env.BoostUnitTest('test', tests)
18
19 SENFSCons.Doxygen(env, extra_sources=[
20     env.Dia2Png('scenario.dia'),
21     env.Dia2Png('classes.dia'),
22     env.Dia2Png('ratestuffer.dia'),
23 ])
24
25 env.InstallSubdir('$INCLUDEINSTALLDIR', includes)