Changeset 2832 for trunk/src


Ignore:
Timestamp:
07/31/13 21:41:29 (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 plotter2 module is imported only in CASA environment, not in standalone ASAP.


Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/CMakeLists.txt

    r2830 r2832  
    1818# use libpyrap
    1919add_definitions( -DHAVE_LIBPYRAP )
     20
     21# enable plotter2
     22add_definitions( -DENABLE_PLOTTER2 )
    2023
    2124# source files for libpyrap
  • trunk/src/python_asap.cpp

    r2830 r2832  
    6868
    6969BOOST_PYTHON_MODULE(_asap) {
     70#ifdef ENABLE_PLOTTER2
    7071  asap::python::python_Plotter2();
     72#endif //ENABLE_PLOTTER2
    7173  asap::python::python_Scantable();
    7274  asap::python::python_STFiller();
  • trunk/src/python_asap.h

    r2830 r2832  
    3535  namespace python {
    3636    void translate_ex(const casa::AipsError& e);
     37#ifdef ENABLE_PLOTTER2
    3738    void python_Plotter2();
     39#endif //ENABLE_PLOTTER2
    3840    void python_Scantable();
    3941    void python_STFiller();
Note: See TracChangeset for help on using the changeset viewer.