Changeset 2833 for trunk/src


Ignore:
Timestamp:
07/31/13 22:35:35 (11 years ago)
Author:
WataruKawasaki
Message:

New Development: No

JIRA Issue: Yes (CAS-3620)

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes: Yes

Module(s): sd

Description: modified so that building standalone ASAP using cmake doesn't require pgplot, doesn't compile/link plotter2 module, and plotter2 is excluded from asap module.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/CMakeLists.txt

    r2832 r2833  
    1919add_definitions( -DHAVE_LIBPYRAP )
    2020
    21 # enable plotter2
    22 add_definitions( -DENABLE_PLOTTER2 )
    23 
    2421# source files for libpyrap
    2522set( ASAP_SRCS
    26      ${SRCDIR}/Plotter2.cpp
    2723     ${SRCDIR}/concurrent.cpp
    2824     ${SRCDIR}/MathUtils.cpp
     
    8379     ${SRCDIR}/CalibrationManager.cpp )
    8480
     81if ( NOT STANDALONE )
     82set( ASAP_SRCS
     83     ${ASAP_SRCS}
     84     ${SRCDIR}/Plotter2.cpp )
     85endif()
     86
    8587set( ASAP_PYSRCS
    86      ${SRCDIR}/python_Plotter2.cpp
    8788     ${SRCDIR}/python_Scantable.cpp
    8889     ${SRCDIR}/python_STFiller.cpp
     
    108109     ${SRCDIR}/python_CalibrationManager.cpp
    109110     ${SRCDIR}/python_asap.cpp )
     111
     112if ( NOT STANDALONE )
     113set( ASAP_PYSRCS
     114     ${ASAP_PYSRCS}
     115     ${SRCDIR}/python_Plotter2.cpp )
     116endif()
    110117
    111118add_library( ${ASAPLIB} SHARED ${ASAP_SRCS} )
Note: See TracChangeset for help on using the changeset viewer.