Ignore:
Timestamp:
12/06/10 16:38:24 (13 years ago)
Author:
Takeshi Nakazato
Message:

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:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/CMakeLists.txt

    r1954 r1957  
    22# CMakeLists.txt for _asap.so
    33###
    4 
    5 # library name is _asap.so
    6 set( ASAPLIB _asap.so )
    74
    85# root for libatnf
     
    118
    129# include path
    13 include_directories( ${SRCDIR} )
    14 include_directories( ${ASAPROOT}/external-alma )
     10include_directories( ${SRCDIR}
     11                     ${Boost_INCLUDE_DIR}
     12                     ${ASAPROOT}/external-alma
     13                     ${ASAPROOT}/external/libpyrap/pyrap-0.3.2 )
    1514
    1615# link path
    1716link_directories( ${SRCDIR} )
     17
     18# use libpyrap
     19add_definitions( -DHAVE_LIBPYRAP )
    1820
    1921# source files for libpyrap
     
    7375
    7476add_library( ${ASAPLIB} SHARED ${ASAP_SRCS} ${ASAP_PYSRCS} )
     77
     78# library name must be _asap.so
    7579set_target_properties( ${ASAPLIB}
    7680                       PROPERTIES
    77                        PREFIX ""
    78                        SUFFIX "" )
    79 target_link_libraries( ${ASAPLIB} pyrap atnf ${CASACORE_LIBRARIES} )
     81                       PREFIX "" )
     82
     83target_link_libraries( ${ASAPLIB}
     84                       ${Boost_LIBRARIES}
     85                       ${PYRAPLIB}
     86                       ${ATNFLIB}
     87                       ${CASACORE_LIBRARIES}
     88                       ${WCSLIB} )
    8089
    8190# install directory
Note: See TracChangeset for help on using the changeset viewer.