Changeset 3034 for trunk/SConstruct
- Timestamp:
- 04/01/15 10:35:15 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SConstruct
r3031 r3034 111 111 Exit(1) 112 112 113 if env["enable_pyrap"]:114 conf.env.AddCustomPackage('pyrap')115 if conf.CheckLib(conf.env["pyraplib"], language='c++', autoadd=0):116 conf.env.PrependUnique(LIBS=env['pyraplib'])117 else:118 Exit(1)119 else:120 conf.env.AppendUnique(CPPPATH=[conf.env["numpyincdir"]])121 if conf.CheckHeader("numpy/numpyconfig.h"):122 conf.env.Append(CPPDEFINES=["-DAIPS_USENUMPY"])123 else:124 conf.env.Exit(1)125 # compile in pyrap from here...126 conf.env["pyrapint"] = "#/external/libpyrap/pyrap-0.3.2"127 conf.env.Append(CPPFLAGS=['-DHAVE_LIBPYRAP'])128 129 113 if not conf.CheckLib("m"): 130 114 Exit(1) … … 163 147 conf.env.AppendUnique(CPPPATH=[pth,pth+'/..']) 164 148 break 165 cclibs = ["casa_ images", "casa_ms", #"casa_components",149 cclibs = ["casa_python", "casa_images", "casa_ms", 166 150 "casa_coordinates", "casa_lattices", 167 151 "casa_fits", "casa_measures", "casa_scimath",
Note:
See TracChangeset
for help on using the changeset viewer.