source: trunk/external-alma/atnf/CMakeLists.txt@ 1954

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

New Development: Yes

JIRA Issue: Yes CAS-2668

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Preliminary version of CMakeLists.txt files.

*NOTE*
Part of library search is hard-coded, so this is not a
complete cross-platform system.


File size: 1.4 KB
Line 
1###
2# CMakeLists.txt for libatnf.so
3###
4
5# library name is libatnf.so
6set( ATNFLIB atnf )
7
8# root for libatnf
9set( ATNFROOT ${ASAP_SOURCE_DIR}/external-alma/ )
10set( ATNFDIR ${ATNFROOT}/atnf )
11set( PKS pks )
12set( PKSIO PKSIO )
13
14# include path
15include_directories( ${ATNFROOT} )
16#include_directories( ${ATNFDIR}/${PKSIO} )
17
18# link path
19link_directories( ${ATNFROOT} )
20
21# source files for libpyrap
22set( ATNF_SRCS
23 ${ATNFDIR}/${PKS}/pks_maths.cc
24 ${ATNFDIR}/${PKSIO}/ASTEDataset.cc
25 ${ATNFDIR}/${PKSIO}/ASTEFXDataset.cc
26 ${ATNFDIR}/${PKSIO}/ASTEReader.cc
27 ${ATNFDIR}/${PKSIO}/FITSreader.cc
28 ${ATNFDIR}/${PKSIO}/GBTFITSreader.cc
29 ${ATNFDIR}/${PKSIO}/MBFITSreader.cc
30 ${ATNFDIR}/${PKSIO}/MBrecord.cc
31 ${ATNFDIR}/${PKSIO}/NRO45FITSReader.cc
32 ${ATNFDIR}/${PKSIO}/NRO45Reader.cc
33 ${ATNFDIR}/${PKSIO}/NRODataset.cc
34 ${ATNFDIR}/${PKSIO}/NROFITSDataset.cc
35 ${ATNFDIR}/${PKSIO}/NROOTFDataset.cc
36 ${ATNFDIR}/${PKSIO}/NROReader.cc
37 ${ATNFDIR}/${PKSIO}/PKSFITSreader.cc
38 ${ATNFDIR}/${PKSIO}/PKSMS2reader.cc
39 ${ATNFDIR}/${PKSIO}/PKSMS2writer.cc
40 ${ATNFDIR}/${PKSIO}/PKSreader.cc
41 ${ATNFDIR}/${PKSIO}/PKSSDwriter.cc
42 ${ATNFDIR}/${PKSIO}/SDFITSreader.cc
43 ${ATNFDIR}/${PKSIO}/SDFITSwriter.cc )
44add_library( ${ATNFLIB} SHARED ${ATNF_SRCS} )
45target_link_libraries( ${ATNFLIB} ${CASACORE_LIBRARIES} )
46
47# install directory
48install( TARGETS ${ATNFLIB}
49 LIBRARY DESTINATION ${LIB_INSTALL_DIR} )
Note: See TracBrowser for help on using the repository browser.