Changeset 2273 for trunk/cmake


Ignore:
Timestamp:
08/12/11 16:20:30 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-1913

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

Support latest ASDM definition in asdm2ASAP.
Now asdm2ASAP is linked to libalma_v3.so to be able to read latest ASDM.

The importasdm task invokes asdm2ASAP when singledish is True.

Older version of asdm2ASAP is renamec as oldasdm2ASAP.
The oldasdm2ASAP and related classes are built by linking to libalma.so.
It is installed but not used by any tasks.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake/withcasa.cmake

    r2236 r2273  
    114114endif()
    115115message( STATUS "LIBXML2_LIBRARY = " ${LIBXML2_LIBRARY} )
    116 set( ASDM_INCLUDE_DIR ${CASA_CODE_PATH}/alma/implement/ASDM
    117                       ${CASA_CODE_PATH}/alma/implement/Enumerations
    118                       ${CASA_CODE_PATH}/alma/implement/ASDMBinaries
    119                       ${CASA_CODE_PATH}/alma/implement/Enumtcl
     116set( ASDM_INCLUDE_DIR_OLD ${CASA_CODE_PATH}/alma/implement/ASDM
     117                          ${CASA_CODE_PATH}/alma/implement/Enumerations
     118                          ${CASA_CODE_PATH}/alma/implement/ASDMBinaries
     119                          ${CASA_CODE_PATH}/alma/implement/Enumtcl
     120                          ${LIBXML2_INCLUDE_DIR} )
     121set( ASDM_LIBRARY_OLD ${casaroot}/${arch}/lib/libalma${CMAKE_SHARED_LIBRARY_SUFFIX}
     122                      ${LIBXML2_LIBRARY}/libxml2${CMAKE_SHARED_LIBRARY_SUFFIX} )
     123set( ASDM_INCLUDE_DIR ${CASA_CODE_PATH}/alma_v3/implement/ASDM
     124                      ${CASA_CODE_PATH}/alma_v3/implement/Enumerations
     125                      ${CASA_CODE_PATH}/alma_v3/implement/ASDMBinaries
     126                      ${CASA_CODE_PATH}/alma_v3/implement/Enumtcl
    120127                      ${LIBXML2_INCLUDE_DIR} )
    121 set( ASDM_LIBRARY ${casaroot}/${arch}/lib/libalma${CMAKE_SHARED_LIBRARY_SUFFIX}
    122  ${LIBXML2_LIBRARY}/libxml2${CMAKE_SHARED_LIBRARY_SUFFIX} )
     128set( ASDM_LIBRARY ${casaroot}/${arch}/lib/libalma_v3${CMAKE_SHARED_LIBRARY_SUFFIX}
     129                  ${LIBXML2_LIBRARY}/libxml2${CMAKE_SHARED_LIBRARY_SUFFIX} )
    123130add_definitions( -DWITHOUT_ACS )
    124131
     
    139146   add_subdirectory( python )
    140147   add_subdirectory( share )
    141    add_subdirectory( external-alma/asdm2ASAP )
     148   add_subdirectory( external-alma/asdm2ASAP )
     149   add_subdirectory( external-alma/oldasdm2ASAP )
    142150endmacro( asap_add_subdirectory )
    143151
Note: See TracChangeset for help on using the changeset viewer.