Last change
on this file since 1957 was 1957, checked in by Takeshi Nakazato, 14 years ago |
New Development: No
JIRA Issue: Yes CAS-2668
Ready for Test: Yes
Interface Changes: 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: Describe your changes here...
Adds wcslib, rpfits, cfitsio libraries.
Includes CASA's cmake modules for searching python, cfitsio, and rpfits.
Update dependency.
Test build and sd regression run.
All sd regressions are passed.
|
File size:
989 bytes
|
Line | |
---|
1 | ###
|
---|
2 | # CMakeLists.txt for libpyrap.so
|
---|
3 | ###
|
---|
4 |
|
---|
5 | # root for libpyrap
|
---|
6 | set( PYRAPROOT ${ASAP_SOURCE_DIR}/external/libpyrap/pyrap-0.3.2 )
|
---|
7 | set( PYRAPDIR ${PYRAPROOT}/pyrap )
|
---|
8 | set( MODULE Converters )
|
---|
9 |
|
---|
10 | # include path
|
---|
11 | include_directories( ${PYRAPROOT}
|
---|
12 | ${Boost_INCLUDE_DIR} )
|
---|
13 |
|
---|
14 | # link path
|
---|
15 | link_directories( ${PYRAPROOT} )
|
---|
16 |
|
---|
17 | # use numpy
|
---|
18 | add_definitions( -DAIPS_USENUMPY )
|
---|
19 |
|
---|
20 | # source files for libpyrap
|
---|
21 | set( PYRAP_SRCS
|
---|
22 | ${PYRAPDIR}/${MODULE}/PycArray.cc
|
---|
23 | ${PYRAPDIR}/${MODULE}/PycArrayNP.cc
|
---|
24 | ${PYRAPDIR}/${MODULE}/PycBasicData.cc
|
---|
25 | ${PYRAPDIR}/${MODULE}/PycExcp.cc
|
---|
26 | ${PYRAPDIR}/${MODULE}/PycRecord.cc
|
---|
27 | ${PYRAPDIR}/${MODULE}/PycValueHolder.cc )
|
---|
28 |
|
---|
29 | add_library( ${PYRAPLIB} SHARED ${PYRAP_SRCS} )
|
---|
30 | target_link_libraries( ${PYRAPLIB}
|
---|
31 | ${Boost_LIBRARIES}
|
---|
32 | ${PYTHON_LIBRARIES}
|
---|
33 | ${CASACORE_LIBRARIES} )
|
---|
34 |
|
---|
35 | # install directory
|
---|
36 | install( TARGETS ${PYRAPLIB}
|
---|
37 | LIBRARY DESTINATION ${LIB_INSTALL_DIR} )
|
---|
Note:
See
TracBrowser
for help on using the repository browser.