2021-04-09 12:47:49 -04:00
|
|
|
set (libm65_FSRCS
|
2021-04-29 14:35:19 -04:00
|
|
|
# Modules come first:
|
2021-05-13 11:24:26 -04:00
|
|
|
wideband_sync.f90
|
2021-04-29 14:35:19 -04:00
|
|
|
|
|
|
|
# Non-module Fortran routines:
|
2017-01-10 11:00:12 -05:00
|
|
|
afc65b.f90
|
|
|
|
astro.f90
|
2014-03-10 12:16:14 -04:00
|
|
|
astro0.f90
|
|
|
|
astrosub.f90
|
2017-01-13 10:12:27 -05:00
|
|
|
averms.f90
|
|
|
|
badmsg.f90
|
2017-01-10 11:00:12 -05:00
|
|
|
ccf2.f90
|
2014-03-10 12:16:14 -04:00
|
|
|
ccf65.f90
|
|
|
|
cgen65.f90
|
2017-01-10 11:00:12 -05:00
|
|
|
chkhist.f90
|
|
|
|
chkmsg.f90
|
|
|
|
coord.f90
|
|
|
|
dcoord.f90
|
2014-03-10 12:16:14 -04:00
|
|
|
decode0.f90
|
|
|
|
decode1a.f90
|
2017-01-10 11:00:12 -05:00
|
|
|
decode65b.f90
|
2014-03-10 12:16:14 -04:00
|
|
|
deep65.f90
|
2017-01-10 11:00:12 -05:00
|
|
|
deg2grid.f90
|
2016-01-13 13:54:18 -05:00
|
|
|
demod64a.f90
|
2014-03-10 12:16:14 -04:00
|
|
|
display.f90
|
2017-01-10 11:00:12 -05:00
|
|
|
dot.f90
|
2014-03-10 12:16:14 -04:00
|
|
|
dpol.f90
|
2017-01-10 11:00:12 -05:00
|
|
|
encode65.f90
|
2016-01-13 13:54:18 -05:00
|
|
|
extract.f90
|
2017-01-10 11:00:12 -05:00
|
|
|
fchisq.f90
|
2017-01-13 10:12:27 -05:00
|
|
|
fchisq0.f90
|
2017-01-10 11:00:12 -05:00
|
|
|
fil6521.f90
|
|
|
|
filbig.f90
|
2017-01-11 16:12:59 -05:00
|
|
|
fmtmsg.f90
|
2014-03-10 12:16:14 -04:00
|
|
|
four2a.f90
|
|
|
|
ftninit.f90
|
|
|
|
ftnquit.f90
|
2021-04-09 12:47:49 -04:00
|
|
|
q65b.f90
|
2021-04-10 07:25:28 -04:00
|
|
|
gen65.f90
|
2021-05-04 15:46:00 -04:00
|
|
|
gen_q65_cwave.f90
|
2021-04-09 12:47:49 -04:00
|
|
|
gen_q65_wave.f90
|
2017-01-10 11:00:12 -05:00
|
|
|
geocentric.f90
|
2014-03-10 12:16:14 -04:00
|
|
|
getdphi.f90
|
2017-01-10 11:00:12 -05:00
|
|
|
getpfx1.f90
|
|
|
|
getpfx2.f90
|
2017-01-10 11:20:25 -05:00
|
|
|
graycode.f90
|
2016-01-13 15:38:28 -05:00
|
|
|
graycode65.f90
|
2017-01-10 11:20:25 -05:00
|
|
|
grid2deg.f90
|
|
|
|
grid2k.f90
|
|
|
|
indexx.f90
|
|
|
|
interleave63.f90
|
2014-03-10 12:16:14 -04:00
|
|
|
iqcal.f90
|
|
|
|
iqfix.f90
|
|
|
|
jt65code.f90
|
2017-01-10 11:20:25 -05:00
|
|
|
k2grid.f90
|
2017-01-13 10:12:27 -05:00
|
|
|
lorentzian.f90
|
2014-03-10 12:16:14 -04:00
|
|
|
map65a.f90
|
2017-01-10 11:20:25 -05:00
|
|
|
moon2.f90
|
|
|
|
moondop.f90
|
2017-01-10 11:48:12 -05:00
|
|
|
nchar.f90
|
2014-03-10 12:16:14 -04:00
|
|
|
noisegen.f90
|
2017-01-11 16:12:59 -05:00
|
|
|
packjt.f90
|
2017-01-10 11:00:12 -05:00
|
|
|
pfxdump.f90
|
2021-06-18 14:16:16 -04:00
|
|
|
polfit.f90
|
2014-03-10 12:16:14 -04:00
|
|
|
recvpkt.f90
|
|
|
|
rfile3a.f90
|
|
|
|
s3avg.f90
|
|
|
|
sec_midn.f90
|
2017-01-10 11:48:12 -05:00
|
|
|
set.f90
|
|
|
|
setup65.f90
|
2017-01-13 10:12:27 -05:00
|
|
|
shell.f90
|
2014-03-10 12:16:14 -04:00
|
|
|
sleep_msec.f90
|
2017-01-13 10:12:27 -05:00
|
|
|
smo.f90
|
2017-01-10 11:59:30 -05:00
|
|
|
sun.f90
|
|
|
|
symspec.f90
|
2021-04-29 09:39:08 -04:00
|
|
|
# timer.f90
|
2014-03-10 12:16:14 -04:00
|
|
|
timf2.f90
|
|
|
|
tm2.f90
|
2017-01-10 11:59:30 -05:00
|
|
|
toxyz.f90
|
|
|
|
trimlist.f90
|
|
|
|
twkfreq.f90
|
2017-01-14 15:01:09 -05:00
|
|
|
twkfreq_xy.f90
|
2021-06-18 14:16:16 -04:00
|
|
|
txpol.f90
|
2021-04-09 12:47:49 -04:00
|
|
|
wavhdr.f90
|
2014-03-10 12:16:14 -04:00
|
|
|
|
|
|
|
f77_wisdom.f
|
|
|
|
)
|
|
|
|
|
2021-04-09 12:47:49 -04:00
|
|
|
set (libm65_ka9q_CSRCS
|
2014-03-10 12:16:14 -04:00
|
|
|
decode_rs.c
|
|
|
|
encode_rs.c
|
2021-04-09 12:47:49 -04:00
|
|
|
init_rs.c
|
|
|
|
)
|
|
|
|
set_source_files_properties (${libm65_ka9q_CSRCS} PROPERTIES COMPILE_FLAGS -Wno-sign-compare)
|
|
|
|
|
|
|
|
set (libm65_CSRCS
|
|
|
|
${libm65_ka9q_CSRCS}
|
2016-01-13 15:38:28 -05:00
|
|
|
ftrsd2.c
|
2021-05-04 15:46:00 -04:00
|
|
|
# gran.c
|
2014-03-10 12:16:14 -04:00
|
|
|
igray.c
|
|
|
|
tmoonsub.c
|
2014-04-22 21:54:55 -04:00
|
|
|
usleep.c
|
2014-03-10 12:16:14 -04:00
|
|
|
wrapkarn.c
|
|
|
|
)
|
|
|
|
|
|
|
|
if (WIN32)
|
2021-04-09 12:47:49 -04:00
|
|
|
set (libm65_CSRCS ${libm65_CSRCS} ptt.c)
|
|
|
|
else ()
|
|
|
|
set (libm65_CSRCS ${libm65_CSRCS} ptt_unix.c)
|
|
|
|
endif ()
|
2014-03-10 12:16:14 -04:00
|
|
|
|
2021-04-09 12:47:49 -04:00
|
|
|
set (libm65_CXXSRCS
|
2014-03-10 12:16:14 -04:00
|
|
|
ipcomm.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
add_definitions (-DBIGSYM=1)
|
|
|
|
set_source_files_properties (sec_midn.f90 PROPERTIES COMPILE_FLAGS -fno-second-underscore)
|
|
|
|
|
2021-04-11 10:29:15 -04:00
|
|
|
set (libm65_C_and_CXXSRCS
|
|
|
|
${libm65_CSRCS}
|
|
|
|
${libm65_CXXSRCS}
|
|
|
|
)
|
|
|
|
set_property (SOURCE ${libm65_C_and_CXXSRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " -include wsjtx_config.h")
|
|
|
|
set_property (SOURCE ${libm65_C_and_CXXSRCS} APPEND PROPERTY OBJECT_DEPENDS ${CMAKE_BINARY_DIR}/wsjtx_config.h)
|
|
|
|
|
|
|
|
|
2014-03-10 12:16:14 -04:00
|
|
|
#
|
|
|
|
# build our targets
|
|
|
|
#
|
2021-04-09 12:47:49 -04:00
|
|
|
add_library (m65impl STATIC ${libm65_FSRCS} ${libm65_CSRCS} ${libm65_CXXSRCS})
|
2021-04-27 15:21:56 -04:00
|
|
|
target_link_libraries (m65impl wsjt_fort wsjt_cxx Qt5::Core)
|
2014-03-10 12:16:14 -04:00
|
|
|
|
|
|
|
add_executable (m65 m65.f90 m65a.f90)
|
2021-04-09 12:47:49 -04:00
|
|
|
target_link_libraries (m65 m65impl ${FFTW3_LIBRARIES})
|
2014-03-10 12:16:14 -04:00
|
|
|
|
2021-05-02 11:34:10 -04:00
|
|
|
add_executable (mapsim mapsim.f90)
|
|
|
|
target_link_libraries (mapsim m65impl ${FFTW3_LIBRARIES})
|
|
|
|
|
2021-05-11 12:50:18 -04:00
|
|
|
add_executable (synctest synctest.f90)
|
|
|
|
target_link_libraries (synctest m65impl ${FFTW3_LIBRARIES})
|
|
|
|
|
2021-05-30 09:55:50 -04:00
|
|
|
if (WIN32)
|
|
|
|
install (
|
|
|
|
TARGETS m65 mapsim
|
|
|
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT runtime
|
|
|
|
BUNDLE DESTINATION . COMPONENT runtime
|
|
|
|
)
|
|
|
|
endif ()
|