Changeset 2833
- Timestamp:
- 07/31/13 22:35:35 (11 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CMakeLists.txt
r2830 r2833 515 515 # PGPLOT (FORTRAN plotting package). 516 516 # depends on X11 517 if( STANDALONE ) 518 ############ 519 find_path( PGPLOT_INCLUDE_DIRS cpgplot.h 520 PATHS /usr 521 PATH_SUFFIXES include ) 522 if( PGPLOT_INCLUDE_DIRS MATCHES "NOTFOUND$" ) 523 message( FATAL ERROR "cpgplot.h could not be found. Please check!" ) 524 endif() 525 find_library( CPGPLOT_LIB libcpgplot.${SO} 526 PATHS /usr 527 PATH_SUFFIXES lib64 lib ) 528 if( CPGPLOT_LIB MATCHES "NOTFOUND$" ) 529 message( FATAL ERROR "libcpgplot could not be found. Please check!" ) 530 endif() 531 find_library( PGPLOT_LIB libpgplot.${SO} 532 PATHS /usr 533 PATH_SUFFIXES lib64 lib ) 534 if( PGPLOT_LIB MATCHES "NOTFOUND$" ) 535 message( FATAL ERROR "libpgplot could not be found. Please check!" ) 536 endif() 537 set( PGPLOT_LIBRARIES "${CPGPLOT_LIB} ${PGPLOT_LIB} ${X11_LIBRARIES} ${FORTRAN_LIBRARIES} " ) 538 ############ 539 else() 517 # not require in standalone mode 518 if( NOT STANDALONE ) 540 519 if( APPLE ) 541 520 set( _deps FORTRAN ) … … 558 537 LIBS pgplot${pgplot_ext} cpgplot${pgplot_ext} 559 538 DEPENDS ${_deps} ) 539 540 add_definitions( -DENABLE_PLOTTER2 ) 560 541 endif() 561 542 -
trunk/src/CMakeLists.txt
r2832 r2833 19 19 add_definitions( -DHAVE_LIBPYRAP ) 20 20 21 # enable plotter222 add_definitions( -DENABLE_PLOTTER2 )23 24 21 # source files for libpyrap 25 22 set( ASAP_SRCS 26 ${SRCDIR}/Plotter2.cpp27 23 ${SRCDIR}/concurrent.cpp 28 24 ${SRCDIR}/MathUtils.cpp … … 83 79 ${SRCDIR}/CalibrationManager.cpp ) 84 80 81 if ( NOT STANDALONE ) 82 set( ASAP_SRCS 83 ${ASAP_SRCS} 84 ${SRCDIR}/Plotter2.cpp ) 85 endif() 86 85 87 set( ASAP_PYSRCS 86 ${SRCDIR}/python_Plotter2.cpp87 88 ${SRCDIR}/python_Scantable.cpp 88 89 ${SRCDIR}/python_STFiller.cpp … … 108 109 ${SRCDIR}/python_CalibrationManager.cpp 109 110 ${SRCDIR}/python_asap.cpp ) 111 112 if ( NOT STANDALONE ) 113 set( ASAP_PYSRCS 114 ${ASAP_PYSRCS} 115 ${SRCDIR}/python_Plotter2.cpp ) 116 endif() 110 117 111 118 add_library( ${ASAPLIB} SHARED ${ASAP_SRCS} )
Note:
See TracChangeset
for help on using the changeset viewer.