source: branches/parallel/src/CMakeLists.txt@ 2126

Last change on this file since 2126 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
Line 
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
10include_directories( ${SRCDIR}
11 ${Boost_INCLUDE_DIR}
12 ${ASAPROOT}/external-alma
13 ${ASAPROOT}/external/libpyrap/pyrap-0.3.2 )
14
15# link path
16link_directories( ${SRCDIR} )
17
18# use libpyrap
19add_definitions( -DHAVE_LIBPYRAP )
20
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
55 ${SRCDIR}/MSFiller.cpp
56 ${SRCDIR}/MSWriter.cpp
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
75 ${SRCDIR}/python_MSFiller.cpp
76 ${SRCDIR}/python_MSWriter.cpp
77 ${SRCDIR}/python_LogSink.cpp
78 ${SRCDIR}/python_asap.cpp )
79
80add_library( ${ASAPLIB} SHARED ${ASAP_SRCS} ${ASAP_PYSRCS} )
81
82# library name must be _asap.so
83set_target_properties( ${ASAPLIB}
84 PROPERTIES
85 PREFIX _
86 SUFFIX .so )
87
88target_link_libraries( ${ASAPLIB}
89 #${Boost_LIBRARIES}
90 ${PYRAPLIB}
91 ${ATNFLIB}
92 #${CASACORE_LIBRARIES}
93 ${WCSLIB} )
94
95add_dependencies( inst ${ASAPLIB} )
96
97# install directory
98install( TARGETS ${ASAPLIB}
99 LIBRARY DESTINATION ${PYTHON_INSTALL_DIR} )
Note: See TracBrowser for help on using the repository browser.