Last change
on this file since 3037 was 1757, checked in by Kana Sugimoto, 14 years ago |
New Development: Yes
JIRA Issue: Yes (CAS-2211)
Ready for Test: Yes
Interface Changes: Yes
What Interface Changed: ASAP 3.0.0 interface changes
Test Programs:
Put in Release Notes: Yes
Module(s): all the CASA sd tools and tasks are affected.
Description: Merged ATNF-ASAP 3.0.0 developments to CASA (alma) branch.
Note you also need to update casa/code/atnf.
|
File size:
546 bytes
|
Line | |
---|
1 | import os,glob,shutil
|
---|
2 |
|
---|
3 | # import root environment
|
---|
4 | Import( "env")
|
---|
5 | myenv = env.Clone()
|
---|
6 |
|
---|
7 | # gather cpp files
|
---|
8 | cpps = env.SGlob("*.cpp")
|
---|
9 |
|
---|
10 | # location of libasap.a
|
---|
11 | myenv.Prepend( LIBPATH = ['#/build'] )
|
---|
12 | myenv.Prepend( CPPPATH = ['#/build'] )
|
---|
13 | myenv.Append(CCFLAGS = ["-DWCSLIB_GETWCSTAB"])
|
---|
14 | myenv.Prepend(LIBS = ['asap'])
|
---|
15 |
|
---|
16 | installs = []
|
---|
17 | for cpp in cpps:
|
---|
18 | prog = myenv.Program(cpp)
|
---|
19 | installs.append(myenv.Install("$prefix/bin", prog))
|
---|
20 | if len(myenv["makedist"]):
|
---|
21 | myenv.QInstall("#/$stagedir/bin", prog)
|
---|
22 |
|
---|
23 | myenv.Alias('install', installs)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.