2012-05-22 13:09:48 -04:00
|
|
|
#-------------------------------------------------
|
|
|
|
#
|
|
|
|
# Project created by QtCreator 2011-07-07T08:39:24
|
|
|
|
#
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
|
|
|
QT += core gui network
|
|
|
|
CONFIG += qwt thread
|
2012-09-26 13:39:43 -04:00
|
|
|
#CONFIG += console
|
2012-05-22 13:09:48 -04:00
|
|
|
|
2012-09-24 11:20:48 -04:00
|
|
|
TARGET = wsjtx
|
2012-07-17 15:31:01 -04:00
|
|
|
VERSION = 0.2
|
2012-05-22 13:09:48 -04:00
|
|
|
TEMPLATE = app
|
|
|
|
|
|
|
|
win32 {
|
|
|
|
DEFINES = WIN32
|
2012-09-24 11:20:48 -04:00
|
|
|
DESTDIR = ../wsjtx_install
|
2012-05-22 13:09:48 -04:00
|
|
|
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
|
2012-09-24 11:20:48 -04:00
|
|
|
DESTDIR = ../wsjtx_install
|
2012-05-22 13:09:48 -04:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
SOURCES += main.cpp mainwindow.cpp plotter.cpp about.cpp \
|
|
|
|
soundin.cpp soundout.cpp devsetup.cpp \
|
2012-07-02 11:33:33 -04:00
|
|
|
widegraph.cpp getfile.cpp \
|
|
|
|
displaytext.cpp getdev.cpp
|
2012-05-22 13:09:48 -04:00
|
|
|
|
|
|
|
win32 {
|
2012-07-02 16:52:56 -04:00
|
|
|
SOURCES += killbyname.cpp
|
2012-05-22 13:09:48 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
HEADERS += mainwindow.h plotter.h soundin.h soundout.h \
|
2012-07-02 11:33:33 -04:00
|
|
|
about.h devsetup.h widegraph.h getfile.h \
|
|
|
|
commons.h sleep.h displaytext.h \
|
2012-05-22 13:09:48 -04:00
|
|
|
|
|
|
|
DEFINES += __cplusplus
|
|
|
|
|
2012-07-02 11:33:33 -04:00
|
|
|
FORMS += mainwindow.ui about.ui devsetup.ui widegraph.ui
|
2012-05-22 13:09:48 -04:00
|
|
|
|
2012-09-24 11:20:48 -04:00
|
|
|
RC_FILE = wsjtx.rc
|
2012-05-22 13:09:48 -04:00
|
|
|
|
|
|
|
unix {
|
|
|
|
INCLUDEPATH += $$quote(/usr/include/qwt-qt4)
|
|
|
|
LIBS += -lfftw3f /usr/lib/libgfortran.so.3
|
2012-10-03 10:31:43 -04:00
|
|
|
LIBS += ../wsjtx/lib/libjt9.a
|
2012-05-22 13:09:48 -04:00
|
|
|
LIBS += /usr/lib/libqwt-qt4.so
|
|
|
|
LIBS += -lportaudio
|
|
|
|
#LIBS +- -lusb
|
|
|
|
}
|
|
|
|
|
|
|
|
win32 {
|
|
|
|
INCLUDEPATH += c:/qwt-6.0.1/include
|
2012-10-03 10:31:43 -04:00
|
|
|
LIBS += ../wsjtx/lib/libjt9.a
|
2012-09-24 11:20:48 -04:00
|
|
|
LIBS += ../wsjtx/libfftw3f_win.a
|
2012-05-22 13:09:48 -04:00
|
|
|
LIBS += ../QtSupport/palir-02.dll
|
|
|
|
LIBS += libwsock32
|
|
|
|
LIBS += C:/MinGW/lib/libf95.a
|
|
|
|
CONFIG(release) {
|
|
|
|
LIBS += C:/qwt-6.0.1/lib/qwt.dll
|
|
|
|
} else {
|
|
|
|
LIBS += C:/qwt-6.0.1/lib/qwtd.dll
|
|
|
|
}
|
|
|
|
LIBS += -lusb
|
|
|
|
}
|