source: trunk/src/CMakeLists.txt@ 2170

Last change on this file since 2170 was 1974, checked in by Takeshi Nakazato, 14 years ago

New Development: Yes

JIRA Issue: Yes CAS-2718

Ready for Test: Yes

Interface Changes: Yes

What Interface Changed: New class msfiller and mswriter added

Test Programs: List test programs

Put in Release Notes: No

Module(s): Module Names change impacts.

Description: Describe your changes here...

New filler/writer specific for Scantable-MS conversion defined.
This is not called from scantable constructor right now.
However, you can call it by explicitly importing msfiller/mswriter.


File size: 2.7 KB
RevLine 
[1954]1###
2# CMakeLists.txt for _asap.so
3###
4
5# root for libatnf
6set( ASAPROOT ${ASAP_SOURCE_DIR} )
7set( SRCDIR ${ASAPROOT}/src )
8
9# include path
[1957]10include_directories( ${SRCDIR}
11 ${Boost_INCLUDE_DIR}
12 ${ASAPROOT}/external-alma
13 ${ASAPROOT}/external/libpyrap/pyrap-0.3.2 )
[1954]14
15# link path
16link_directories( ${SRCDIR} )
17
[1957]18# use libpyrap
19add_definitions( -DHAVE_LIBPYRAP )
20
[1954]21# source files for libpyrap
22set( ASAP_SRCS
23 ${SRCDIR}/MathUtils.cpp
24 ${SRCDIR}/RowAccumulator.cpp
25 ${SRCDIR}/Logger.cpp
26 ${SRCDIR}/LineCatalog.cpp
27 ${SRCDIR}/STAttr.cpp
28 ${SRCDIR}/STHeader.cpp
29 ${SRCDIR}/STFiller.cpp
30 ${SRCDIR}/STMath.cpp
31 ${SRCDIR}/STSubTable.cpp
32 ${SRCDIR}/STMolecules.cpp
33 ${SRCDIR}/STTcal.cpp
34 ${SRCDIR}/STFocus.cpp
35 ${SRCDIR}/STWeather.cpp
36 ${SRCDIR}/STFrequencies.cpp
37 ${SRCDIR}/STHistory.cpp
38 ${SRCDIR}/STSelector.cpp
39 ${SRCDIR}/STLineFinder.cpp
40 ${SRCDIR}/STFitter.cpp
41 ${SRCDIR}/STFitEntry.cpp
42 ${SRCDIR}/STFit.cpp
43 ${SRCDIR}/STPol.cpp
44 ${SRCDIR}/STPolLinear.cpp
45 ${SRCDIR}/STPolCircular.cpp
46 ${SRCDIR}/STPolStokes.cpp
47 ${SRCDIR}/STWriter.cpp
48 ${SRCDIR}/STAsciiWriter.cpp
49 ${SRCDIR}/STFITSImageWriter.cpp
50 ${SRCDIR}/STAtmosphere.cpp
51 ${SRCDIR}/Scantable.cpp
52 ${SRCDIR}/FillerBase.cpp
53 ${SRCDIR}/NROFiller.cpp
54 ${SRCDIR}/PKSFiller.cpp
[1974]55 ${SRCDIR}/MSFiller.cpp
56 ${SRCDIR}/MSWriter.cpp
[1954]57 ${SRCDIR}/AsapLogSink.cpp
58 ${SRCDIR}/Templates.cpp )
59
60set( ASAP_PYSRCS
61 ${SRCDIR}/python_Scantable.cpp
62 ${SRCDIR}/python_STFiller.cpp
63 ${SRCDIR}/python_STSelector.cpp
64 ${SRCDIR}/python_STMath.cpp
65 ${SRCDIR}/python_Fitter.cpp
66 ${SRCDIR}/python_Logger.cpp
67 ${SRCDIR}/python_STLineFinder.cpp
68 ${SRCDIR}/python_STFitEntry.cpp
69 ${SRCDIR}/python_STWriter.cpp
70 ${SRCDIR}/python_LineCatalog.cpp
71 ${SRCDIR}/python_SrcType.cpp
72 ${SRCDIR}/python_STAtmosphere.cpp
73 ${SRCDIR}/python_STCoordinate.cpp
74 ${SRCDIR}/python_Filler.cpp
[1974]75 ${SRCDIR}/python_MSFiller.cpp
76 ${SRCDIR}/python_MSWriter.cpp
[1954]77 ${SRCDIR}/python_LogSink.cpp
78 ${SRCDIR}/python_asap.cpp )
79
80add_library( ${ASAPLIB} SHARED ${ASAP_SRCS} ${ASAP_PYSRCS} )
[1957]81
82# library name must be _asap.so
[1954]83set_target_properties( ${ASAPLIB}
84 PROPERTIES
[1958]85 PREFIX _
86 SUFFIX .so )
[1954]87
[1957]88target_link_libraries( ${ASAPLIB}
[1958]89 #${Boost_LIBRARIES}
[1957]90 ${PYRAPLIB}
91 ${ATNFLIB}
[1958]92 #${CASACORE_LIBRARIES}
[1957]93 ${WCSLIB} )
94
[1966]95add_dependencies( inst ${ASAPLIB} )
96
[1954]97# install directory
98install( TARGETS ${ASAPLIB}
99 LIBRARY DESTINATION ${PYTHON_INSTALL_DIR} )
Note: See TracBrowser for help on using the repository browser.