WSJT-X/wsjtx.pro
Joe Taylor 86591544f0 Merge changes from branches/wsjtx_w back into branches/wsjtx.
Note to developers: Not sure about the makefiles...


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3835 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-05 18:20:40 +00:00

84 lines
2.2 KiB
Prolog

#-------------------------------------------------
#
# Project created by QtCreator 2011-07-07T08:39:24
#
#-------------------------------------------------
QT += network multimedia
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += thread
#CONFIG += console
TARGET = wsjtx
#DESTDIR = ../qt4_install
DESTDIR = ../wsjtx_install
VERSION = 1.2
TEMPLATE = app
DEFINES = QT5
win32 {
DEFINES += WIN32
F90 = g95
g95.output = ${QMAKE_FILE_BASE}.o
g95.commands = $$F90 -c -O2 -o ${QMAKE_FILE_OUT} ${QMAKE_FILE_NAME}
g95.input = F90_SOURCES
QMAKE_EXTRA_COMPILERS += g95
}
unix {
DEFINES += UNIX
F90 = gfortran
gfortran.output = ${QMAKE_FILE_BASE}.o
gfortran.commands = $$F90 -c -O2 -o ${QMAKE_FILE_OUT} ${QMAKE_FILE_NAME}
gfortran.input = F90_SOURCES
QMAKE_EXTRA_COMPILERS += gfortran
}
#
# Order matters here as the link is in this order so referrers need to be after referred
#
SOURCES += logbook/adif.cpp logbook/countrydat.cpp astro.cpp \
logbook/countriesworked.cpp logbook/logbook.cpp rigclass.cpp \
psk_reporter.cpp Modulator.cpp Detector.cpp logqso.cpp \
displaytext.cpp getfile.cpp soundout.cpp soundin.cpp \
meterwidget.cpp signalmeter.cpp plotter.cpp widegraph.cpp \
devsetup.cpp about.cpp mainwindow.cpp main.cpp decodedtext.cpp
win32 {
SOURCES += killbyname.cpp
}
HEADERS += mainwindow.h plotter.h soundin.h soundout.h astro.h \
about.h devsetup.h widegraph.h getfile.h \
commons.h sleep.h displaytext.h logqso.h \
AudioDevice.hpp Detector.hpp Modulator.hpp \
psk_reporter.h rigclass.h signalmeter.h \
meterwidget.h logbook/logbook.h logbook/countrydat.h \
logbook/countriesworked.h logbook/adif.h
FORMS += mainwindow.ui about.ui devsetup.ui widegraph.ui astro.ui \
logqso.ui
RC_FILE = wsjtx.rc
unix {
LIBS += -L lib -ljt9
LIBS += -lhamlib
LIBS += -lfftw3f `$$F90 -print-file-name=libgfortran.so`
}
win32 {
INCLUDEPATH += /wsjt-env//hamlib/include
LIBS += /wsjt-env/hamlib/lib/gcc/libhamlib.dll.a
#LIBS += ../wsjtx/lib/libjt9.a
LIBS += ../wsjtx/lib/libjt9.a
LIBS += ../wsjtx/lib/libastro.a
LIBS += ../wsjtx/libfftw3f_win.a
LIBS += ../wsjtx/libpskreporter.a
LIBS += ../wsjtx/libHRDInterface001.a
LIBS += libwsock32
LIBS += C:/MinGW/lib/libf95.a
}