Changeset 2577 for trunk/external-alma


Ignore:
Timestamp:
06/27/12 12:58:28 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

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...

Defined PKSMS option in cmake.
if PKSMS=ON, PKSMSreader/writer will be built while if PKSMS=OFF,
those classes will be ignored. Default is OFF.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/external-alma/atnf/CMakeLists.txt

    r1966 r2577  
    1515link_directories( ${ATNFROOT} )
    1616
    17 # source files for libpyrap
     17# source files for libatnf
    1818set( ATNF_SRCS
    1919     ${ATNFDIR}/${PKS}/pks_maths.cc
     
    3333     ${ATNFDIR}/${PKSIO}/NROReader.cc
    3434     ${ATNFDIR}/${PKSIO}/PKSFITSreader.cc
    35      ${ATNFDIR}/${PKSIO}/PKSMS2reader.cc
    36      ${ATNFDIR}/${PKSIO}/PKSMS2writer.cc
     35#     ${ATNFDIR}/${PKSIO}/PKSMS2reader.cc
     36#     ${ATNFDIR}/${PKSIO}/PKSMS2writer.cc
    3737     ${ATNFDIR}/${PKSIO}/PKSreader.cc
    3838     ${ATNFDIR}/${PKSIO}/PKSSDwriter.cc
    3939     ${ATNFDIR}/${PKSIO}/SDFITSreader.cc
    4040     ${ATNFDIR}/${PKSIO}/SDFITSwriter.cc )
     41if( PKSMS )
     42   set( ATNF_SRCS ${ATNF_SRCS}
     43                  ${ATNFDIR}/${PKSIO}/PKSMS2reader.cc
     44                  ${ATNFDIR}/${PKSIO}/PKSMS2writer.cc )
     45endif() 
     46
    4147add_library( ${ATNFLIB} SHARED ${ATNF_SRCS} )
    4248target_link_libraries( ${ATNFLIB}
Note: See TracChangeset for help on using the changeset viewer.