source: branches/alma/src/SConscript@ 1810

Last change on this file since 1810 was 1782, checked in by Kana Sugimoto, 14 years ago

New Development: Yes

JIRA Issue: No (merge)

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes: No

Module(s): single dish package

Description:

Merged some unimplemented developments from the trunk.
[Details]

  1. Restored PKSmsg.cc, PKSmsg.h to alma branch from trunk
  2. Updated pks_matchs.cc and src/SConscript to ones in trunk
  3. uncommented "@print_log_dec"
  4. implemented bug fixes to add(), sub(), mul(), and div() in scantable.py
  5. implemented get_region() and get_point() in asaplotbase.py
  6. activated interactive keyword for text(), arrow(), annotate(), axvline(), axhline(), axvspan(), and axhspan() in asapplotter.py


File size: 773 bytes
RevLine 
[1082]1import os,glob,shutil
2
3# import root environment
[1135]4Import( "env")
[1782]5myenv = env.Clone()
[1082]6
[1109]7# gather cpp files
[1135]8cpps = env.SGlob("*.cpp")
9pycpps = env.SGlob("python_*.cpp")
[1105]10for pf in pycpps: cpps.remove(pf)
[1082]11
12# location of libcasav.a
[1105]13myenv.Prepend( LIBPATH = ['#/build'] )
[1082]14myenv['SHLIBPREFIX']="" #gets rid of lib prefix
[1325]15myenv.Append(CCFLAGS=["-DWCSLIB_GETWCSTAB"])
[1082]16# need to create library here to fool scons linker
[1121]17libasap = myenv.StaticLibrary(target = "asap", source = cpps)
18myenv.Prepend( LIBS = ['asap'] )
19
[1082]20# Finally create the library for the module
[1328]21if not hasattr(myenv, "LoadableModule"):
22 myenv.LoadableModule = myenv.SharedLibrary
[1325]23so = myenv.LoadableModule( target = "_asap.so", source = pycpps, SHLIBSUFFIX="" )
[1121]24#test = myenv.Program("test", cpps)
[1082]25Return("so")
[1121]26
Note: See TracBrowser for help on using the repository browser.