#return conf.Finish()
return env
-def GlobSources():
+def GlobSources(exclude=[]):
testSources = glob.glob("*.test.cc")
- sources = [ x for x in glob.glob("*.cc") if x not in testSources ]
+ sources = [ x for x in glob.glob("*.cc") if x not in testSources and x not in exclude ]
return (sources, testSources)
def StandardTargets(env):
return objects
-def Doxygen(env, sources, testSources = None):
+def Doxygen(env, sources, testSources = None, target='doc', image = []):
if type(sources) == type(()):
testSources = sources[1]
sources = sources[0]
doc = env.Doxygen(
- target = 'doc',
- source = sources )
+ target = target,
+ source = sources,
+ image = image)
env.Alias('all_docs', doc)
return doc