- Timestamp:
- 12/06/10 16:38:24 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/CMakeLists.txt
r1954 r1957 2 2 # CMakeLists.txt for _asap.so 3 3 ### 4 5 # library name is _asap.so6 set( ASAPLIB _asap.so )7 4 8 5 # root for libatnf … … 11 8 12 9 # include path 13 include_directories( ${SRCDIR} ) 14 include_directories( ${ASAPROOT}/external-alma ) 10 include_directories( ${SRCDIR} 11 ${Boost_INCLUDE_DIR} 12 ${ASAPROOT}/external-alma 13 ${ASAPROOT}/external/libpyrap/pyrap-0.3.2 ) 15 14 16 15 # link path 17 16 link_directories( ${SRCDIR} ) 17 18 # use libpyrap 19 add_definitions( -DHAVE_LIBPYRAP ) 18 20 19 21 # source files for libpyrap … … 73 75 74 76 add_library( ${ASAPLIB} SHARED ${ASAP_SRCS} ${ASAP_PYSRCS} ) 77 78 # library name must be _asap.so 75 79 set_target_properties( ${ASAPLIB} 76 80 PROPERTIES 77 PREFIX "" 78 SUFFIX "" ) 79 target_link_libraries( ${ASAPLIB} pyrap atnf ${CASACORE_LIBRARIES} ) 81 PREFIX "" ) 82 83 target_link_libraries( ${ASAPLIB} 84 ${Boost_LIBRARIES} 85 ${PYRAPLIB} 86 ${ATNFLIB} 87 ${CASACORE_LIBRARIES} 88 ${WCSLIB} ) 80 89 81 90 # install directory
Note:
See TracChangeset
for help on using the changeset viewer.