- Timestamp:
- 08/03/06 10:21:54 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SConscript
r1090 r1105 2 2 3 3 # import root environment 4 Import( "env" )4 Import( "env", "SGlob" ) 5 5 myenv = env.Copy() 6 6 7 # casa includes8 casaincd = [os.path.join(myenv['CASAROOT'], 'code/include'), \9 os.path.join(myenv['CASAROOT'], 'code/casa')]10 7 11 myenv.Append( CPPPATH = casaincd ) 12 13 # libaries and objects 14 # myabe use glob here 15 # ASAP 16 cpps = """ 17 Logger.cpp 18 MathUtils.cpp 19 MathUtils2.cpp 20 RowAccumulator.cpp 21 STAsciiWriter.cpp 22 STAttr.cpp 23 STFiller.cpp 24 STFit.cpp 25 STFitEntry.cpp 26 STFitter.cpp 27 STFocus.cpp 28 STFrequencies.cpp 29 STHeader.cpp 30 STHistory.cpp 31 STLineFinder.cpp 32 STMath.cpp 33 STMolecules.cpp 34 STPol.cpp 35 STPolLinear.cpp 36 STPolStokes.cpp 37 STSelector.cpp 38 STSubTable.cpp 39 STTcal.cpp 40 STWeather.cpp 41 STWriter.cpp 42 Scantable.cpp 43 Templates.cpp 44 """.split() 45 46 pycpps = """ 47 python_Fitter.cpp 48 python_Logger.cpp 49 python_STFiller.cpp 50 python_STFitEntry.cpp 51 python_STLineFinder.cpp 52 python_STMath.cpp 53 python_STSelector.cpp 54 python_STWriter.cpp 55 python_Scantable.cpp 56 python_asap.cpp 57 """.split() 58 59 60 # OTHER 61 #genlibs = """ 62 #g2c stdc++ lapack blas 63 #""".split() 64 65 #myenv.Append( LIBS = ['cfitsio_lfs'] ) 66 #myenv.Append( LIBS = genlibs ) 67 8 cpps = SGlob("*.cpp") 9 pycpps = SGlob("python_*.cpp") 10 for pf in pycpps: cpps.remove(pf) 11 print cpps 68 12 69 13 casalibd = os.path.join(myenv['CASAROOT'],myenv['CASAARCH'],'lib') 14 70 15 # location of libcasav.a 71 myenv. Append( LIBPATH = ['#/build', casalibd] )16 myenv.Prepend( LIBPATH = ['#/build'] ) 72 17 myenv.Install('#build', os.path.join(casalibd, 'libwcs.a')) 73 18 myenv['SHLIBPREFIX']="" #gets rid of lib prefix
Note:
See TracChangeset
for help on using the changeset viewer.