Changeset 2872
- Timestamp:
- 12/03/13 13:09:42 (11 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cmake/withcasa.cmake
r2847 r2872 96 96 set( CASACORE_PATHS "${casaroot}/${arch};${casaroot};/usr/local;/usr" ) 97 97 98 set( epochdelta 1385403204 ) 99 if ( EXISTS ${CMAKE_INSTALL_PREFIX}/${arch}/casa_sover.txt ) 100 execute_process( COMMAND perl -e "while (<>) { chomp and print if (! m/^\#/ ) }" ${CMAKE_INSTALL_PREFIX}/${arch}/casa_sover.txt 101 OUTPUT_VARIABLE __asap_soversion ) 102 elseif( EXISTS ${CMAKE_INSTALL_PREFIX}/casa_sover.txt ) 103 execute_process( COMMAND perl -e "while (<>) { chomp and print if (! m/^#/ ) }" ${CMAKE_INSTALL_PREFIX}/casa_sover.txt 104 OUTPUT_VARIABLE __asap_soversion ) 105 else( ) 106 execute_process( COMMAND perl -e "$t=time( )-${epochdelta};$z=$t & 0xff; $y=($t>>8)&0xff; $x=($t>>16)&0xffff; print \"$x.$y.$z\"" 107 OUTPUT_VARIABLE __asap_soversion ) 108 endif( ) 109 set(asap_soversion ${__asap_soversion} CACHE STRING "version for shared objects") 110 message( STATUS "shared object version number ${asap_soversion}" ) 98 111 99 112 # -
trunk/external-alma/atnf/CMakeLists.txt
r2577 r2872 55 55 add_dependencies( inst ${ATNFLIB} ) 56 56 57 if ( DEFINED asap_soversion ) 58 set_target_properties( ${ATNFLIB} PROPERTIES SOVERSION ${asap_soversion} ) 59 endif( ) 60 57 61 # install directory 58 62 install( TARGETS ${ATNFLIB} -
trunk/external/libpyrap/CMakeLists.txt
r1966 r2872 36 36 add_dependencies( inst ${PYRAPLIB} ) 37 37 38 if ( DEFINED asap_soversion ) 39 set_target_properties( ${PYRAPLIB} PROPERTIES SOVERSION ${asap_soversion} ) 40 endif( ) 41 38 42 # install directory 39 43 install( TARGETS ${PYRAPLIB} -
trunk/src/CMakeLists.txt
r2833 r2872 119 119 add_library( ${ASAPPYLIB} SHARED ${ASAP_PYSRCS} ) 120 120 121 if ( DEFINED asap_soversion ) 122 set_target_properties( ${ASAPLIB} PROPERTIES SOVERSION ${asap_soversion} ) 123 set_target_properties( ${ASAPPYLIB} PROPERTIES SOVERSION ${asap_soversion} ) 124 endif( ) 125 121 126 # library name must be _asap.so 122 127 set_target_properties( ${ASAPPYLIB}
Note:
See TracChangeset
for help on using the changeset viewer.