blob: 44d6e1b201e843132a0b60d85452389d8d96e062 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
set (libq65_FSRCS
# Modules come first:
qmap_decode_ipc.f90
cacb_mod.f90
getcand2.f90
# Non-module Fortran routines:
astro.f90
astro0.f90
astrosub.f90
chkstat.f90
dcoord.f90
decode0.f90
dot.f90
fchisq0.f90
fftbig.f90
ftninit.f90
# ftnquit.f90
geocentric.f90
grid2deg.f90
indexx.f90
lorentzian.f90
moon2.f90
moondop.f90
q65b.f90
q65c.f90
q65_sync.f90
qmapa.f90
read_qm.f90
recvpkt.f90
save_qm.f90
sun.f90
symspec.f90
timf2.f90
tm2.f90
toxyz.f90
zaptx.f90
f77_wisdom.f
)
#set (libq65_CXXSRCS
# ipcomm.cpp
# )
set (libq65_C_and_CXXSRCS
${libq65_CSRCS}
${libq65_CXXSRCS}
)
set_property (SOURCE ${libq65_C_and_CXXSRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " -include wsjtx_config.h")
set_property (SOURCE ${libq65_C_and_CXXSRCS} APPEND PROPERTY OBJECT_DEPENDS ${CMAKE_BINARY_DIR}/wsjtx_config.h)
# These carry dummy arguments that are genuine QMAP-GUI-supplied state
# (see qmap/mainwindow.cpp) which the current Fortran implementation
# doesn't happen to reference; removing them would mean touching the
# GUI call sites too, so we suppress the warning instead.
set_source_files_properties (chkstat.f90 PROPERTIES COMPILE_FLAGS "-Wno-unused-dummy-argument")
set_source_files_properties (symspec.f90 PROPERTIES COMPILE_FLAGS "-Wno-unused-dummy-argument")
set_source_files_properties (q65b.f90 PROPERTIES COMPILE_FLAGS "-Wno-unused-dummy-argument")
#
# build our targets
#
add_library (qmap_impl STATIC ${libq65_FSRCS} ${libq65_CSRCS} ${libq65_CXXSRCS})
if (NOT APPLE)
target_link_libraries (qmap_impl PUBLIC Qt5::Core)
endif ()
wsjt_link_common_fortran (qmap_impl)
|