Ticket #29489: patch-SConstruct.diff
File patch-SConstruct.diff, 982 bytes (added by jason@…, 14 years ago) |
---|
-
SConstruct
old new 48 48 # opts.Add(BoolVariable('style', 'Check style', "no")) 49 49 50 50 env = Environment(options=opts, CXXFLAGS=["${opt}","${warn}"]) 51 env.Append( CPPPATH=["@@PREFIX@@/include"] ) 52 env.Append( LIBPATH=["@@PREFIX@@/lib/"] ) 53 env["CFLAGS"] = os.getenv("CFLAGS") 54 env["CXXFLAGS"] = os.getenv("CXXFLAGS") 55 env["LINKFLAGS"] = os.getenv("LINKFLAGS") 56 51 57 Help(opts.GenerateHelpText(env)) 52 58 53 59 conf = Configure(env) … … 146 152 147 153 if env["test"]: 148 154 for file in glob.glob("*/test-*.cc") + glob.glob("*/*/test-*.cc"): 149 if not file.startswith('vidio'): 155 #Jason C - I exclude test-pbmpng becuase it depends on convert from ImageMagick 156 if not (file.startswith('vidio') or file.startswith('imgio/tests/test-pbmpng')): 150 157 progs.Program(file[:-3],file) 151 158 progs.Test(file[:-3]) 152 159 progs.Alias("test",file[:-3]+".passed")