X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=satscons%2FSatSCons.py;h=783500c1f5e4675c3cd77766eb9b749cce6b8b61;hb=b2d64a4084a053f0887c7845bb81074e0cd3a855;hp=224591d1d6a95bfed2706ee1172a2fce4ad5e8fb;hpb=a8fdb0af3bf0de5fafb0b1f40496ce221d834b26;p=senf.git diff --git a/satscons/SatSCons.py b/satscons/SatSCons.py index 224591d..783500c 100644 --- a/satscons/SatSCons.py +++ b/satscons/SatSCons.py @@ -94,9 +94,9 @@ def MakeEnvironment(): #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):