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-07-04 13:49:53 -04:00
|
|
|
#CONFIG += console
|
2012-05-22 13:09:48 -04:00
|
|
|
|
2012-07-02 11:33:33 -04:00
|
|
|
TARGET = jtms3
|
|
|
|
VERSION = 0.1
|
2012-05-22 13:09:48 -04:00
|
|
|
TEMPLATE = app
|
|
|
|
|
|
|
|
win32 {
|
|
|
|
DEFINES = WIN32
|
2012-07-02 11:33:33 -04:00
|
|
|
DESTDIR = ../jtms3_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-07-02 11:33:33 -04:00
|
|
|
DESTDIR = ../jtms3_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-07-02 11:33:33 -04:00
|
|
|
RC_FILE = jtms3.rc
|
2012-05-22 13:09:48 -04:00
|
|
|
|
|
|
|
unix {
|
|
|
|
INCLUDEPATH += $$quote(/usr/include/qwt-qt4)
|
|
|
|
LIBS += -lfftw3f /usr/lib/libgfortran.so.3
|
2012-07-02 11:33:33 -04:00
|
|
|
LIBS += ../jtms3/libm65/libm65.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-07-02 11:33:33 -04:00
|
|
|
LIBS += ../jtms3/libm65/libm65.a
|
|
|
|
LIBS += ../jtms3/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
|
|
|
|
}
|