source: trunk/src/SConscript @ 2998

Last change on this file since 2998 was 2998, checked in by Kana Sugimoto, 10 years ago

r2993 | KanaSugimoto? | 2014-10-15 20:32:13 +0900 (Wed, 15 Oct 2014) | 14 lines

New Development: No

JIRA Issue: No

Ready for Test: Yes/No?

Interface Changes: Yes/No?

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No?

Module(s): Module Names change impacts.

Description: creating a test branch to merge from NRAO repository



r2994 | KanaSugimoto? | 2014-10-15 20:51:59 +0900 (Wed, 15 Oct 2014) | 3 lines

Initialized merge tracking via "svnmerge" with revisions "1-31330" from
https://svn.cv.nrao.edu/svn/casa/branches/personal/kana/test-merge-43-01/asap


r2995 | KanaSugimoto? | 2014-10-15 21:15:27 +0900 (Wed, 15 Oct 2014) | 3 lines

Initialized merge tracking via "svnmerge" with revisions "1-31330" from
https://svn.cv.nrao.edu/svn/casa/branches/personal/kana/test-merge-43-01/asap


r2996 | KanaSugimoto? | 2014-10-15 21:24:23 +0900 (Wed, 15 Oct 2014) | 20 lines

Merged revisions 31331 via svnmerge from
https://svn.cv.nrao.edu/svn/casa/branches/personal/kana/test-merge-43-01/asap

........

r31331 | kana.sugimoto | 2014-10-15 21:06:50 +0900 (Wed, 15 Oct 2014) | 14 lines



New Development: Yes/No?

JIRA Issue: No/Yes? List JIRA ticket.

Ready for Test: Yes/No?

Interface Changes: Yes/No?

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No?

Module(s): Module Names change impacts.

Description: dummy commit



........


r2997 | KanaSugimoto? | 2014-10-15 21:48:06 +0900 (Wed, 15 Oct 2014) | 17 lines

Merged revisions 31332-31334 via svnmerge from
https://svn.cv.nrao.edu/svn/casa/branches/personal/kana/test-merge-43-01/asap

........

r31332 | kana.sugimoto | 2014-10-15 21:30:59 +0900 (Wed, 15 Oct 2014) | 1 line


A minor modification to a comment

........

r31333 | kana.sugimoto | 2014-10-15 21:36:19 +0900 (Wed, 15 Oct 2014) | 1 line


Removed a white line

........

r31334 | kana.sugimoto | 2014-10-15 21:39:32 +0900 (Wed, 15 Oct 2014) | 1 line


Put back year change

........


File size: 1017 bytes
Line 
1import os,glob,shutil
2
3# import root environment
4Import( "env")
5myenv = env.Clone()
6
7# gather cpp files
8cpps = env.SGlob("*.cpp")
9cpps.remove("Plotter2.cpp")
10pycpps = env.SGlob("python_*.cpp")
11for pf in pycpps:
12    cpps.remove(pf)
13pycpps.remove("python_Plotter2.cpp")
14
15# location of libcasav.a
16myenv.Prepend( LIBPATH = ['#/build'] )
17myenv['SHLIBPREFIX']=""   #gets rid of lib prefix
18myenv.Append(CCFLAGS=["-DWCSLIB_GETWCSTAB"])
19# need to create library here to fool  scons linker
20libasap =  myenv.StaticLibrary(target = "asap", source = cpps)
21myenv.Prepend( LIBS =  ['asap'] )
22
23shenv = myenv.Clone()
24pyrapdir = shenv.get("pyrapint", None)
25if pyrapdir:
26    shenv.PrependUnique(CPPPATH=pyrapdir)   
27    pycpps += shenv.Glob('%s/pyrap/*/*.cc' % pyrapdir)
28# Finally create the library for the module
29if not hasattr(shenv, "LoadableModule"):
30    shenv.LoadableModule = shenv.SharedLibrary
31so = shenv.LoadableModule( target = "_asap.so", source = pycpps, SHLIBSUFFIX="" )
32#test = shenv.Program("test", cpps)
33Return("so")
34
Note: See TracBrowser for help on using the repository browser.