- Timestamp:
- 04/12/07 13:23:10 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SConstruct
r1325 r1326 83 83 if not env.GetOption('clean'): 84 84 conf = Configure(env) 85 86 conf.env.AppendUnique(LIBPATH=os.path.join(conf.env["casacoreroot"], 87 "lib")) 88 conf.env.AppendUnique(CPPPATH=os.path.join(conf.env["casacoreroot"], 89 "include", "casacore")) 90 if not conf.CheckLib("casa_casa", language='c++'): Exit(1) 91 conf.env.PrependUnique(LIBS=["casa_ms", "casa_components", "casa_coordinates", "casa_lattices", "casa_fits", "casa_measures", "casa_scimath", "casa_scimath_f", "casa_tables", "casa_mirlib"]) 85 92 conf.env.Append(CPPPATH=[distutils.sysconfig.get_python_inc()]) 86 93 if not conf.CheckHeader("Python.h", language='c'): … … 92 99 if not conf.CheckLib(library=pylib, language='c'): Exit(1) 93 100 94 conf.env.AppendUnique(LIBPATH=os.path.join(conf.env["casacoreroot"],95 "lib"))96 conf.env.AppendUnique(CPPPATH=os.path.join(conf.env["casacoreroot"],97 "include", "casacore"))98 print conf.env["CPPPATH"]99 # if not conf.CheckLib("casa_images", language='c++'): Exit(1)100 if not conf.CheckLib("casa_ms", language='c++'): Exit(1)101 if not conf.CheckLib("casa_components", language='c++'): Exit(1)102 if not conf.CheckLib("casa_coordinates", language='c++'): Exit(1)103 if not conf.CheckLib("casa_lattices", language='c++'): Exit(1)104 if not conf.CheckLib("casa_fits", language='c++'): Exit(1)105 if not conf.CheckLib("casa_measures", language='c++'): Exit(1)106 if not conf.CheckLib("casa_scimath", language='c++'): Exit(1)107 if not conf.CheckLib("casa_scimath_f", language='c++'): Exit(1)108 if not conf.CheckLib("casa_tables", language='c++'): Exit(1)109 if not conf.CheckLib("casa_mirlib", language='c++'): Exit(1)110 if not conf.CheckLib("casa_casa", language='c++'): Exit(1)111 101 conf.env.AddCustomPackage('boost') 112 102 if not conf.CheckLibWithHeader(env["boostlib"],
Note:
See TracChangeset
for help on using the changeset viewer.