Changes in trunk/src/CMakeLists.txt [2465:2370]
- File:
-
- 1 edited
-
trunk/src/CMakeLists.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/CMakeLists.txt
r2465 r2370 21 21 # source files for libpyrap 22 22 set( ASAP_SRCS 23 ${SRCDIR}/concurrent.cpp24 23 ${SRCDIR}/MathUtils.cpp 25 24 ${SRCDIR}/TableTraverse.cpp … … 83 82 ${SRCDIR}/python_asap.cpp ) 84 83 85 add_library( ${ASAPLIB} SHARED ${ASAP_SRCS} ) 86 add_library( ${ASAPPYLIB} SHARED ${ASAP_PYSRCS} ) 84 add_library( ${ASAPLIB} SHARED ${ASAP_SRCS} ${ASAP_PYSRCS} ) 87 85 88 86 # library name must be _asap.so 89 set_target_properties( ${ASAP PYLIB}87 set_target_properties( ${ASAPLIB} 90 88 PROPERTIES 91 PREFIX ""89 PREFIX _ 92 90 SUFFIX .so ) 93 91 … … 98 96 #${CASACORE_LIBRARIES} 99 97 ${WCSLIB} ) 100 target_link_libraries( ${ASAPPYLIB}101 ${ASAPLIB} )102 98 103 add_dependencies( inst ${ASAPLIB} 104 ${ASAPPYLIB} ) 99 add_dependencies( inst ${ASAPLIB} ) 105 100 106 101 # install directory 107 102 install( TARGETS ${ASAPLIB} 108 LIBRARY DESTINATION ${LIB_INSTALL_DIR} )109 install( TARGETS ${ASAPPYLIB}110 103 LIBRARY DESTINATION ${PYTHON_INSTALL_DIR} ) 111 #if( NOT STANDALONE )112 #execute_process(113 # COMMAND ln -Fs ../${PYTHON_INSTALL_DIR}/_${ASAPLIB}.so ${CMAKE_INSTALL_PREFIX}/lib/_${ASAPLIB}.so114 #OUTPUT_VARIABLE stuff)115 #endif()104 if( NOT STANDALONE ) 105 execute_process( 106 COMMAND ln -Fs ../${PYTHON_INSTALL_DIR}/_asap.so ${CMAKE_INSTALL_PREFIX}/lib/_asap.so 107 OUTPUT_VARIABLE stuff) 108 endif()
Note:
See TracChangeset
for help on using the changeset viewer.
