# turn on the compiler warning
CONFIG += warn_on
#global definition
DEFINES = INT INTR3 QT3_SUPPORT
# global include file paths
MOC_DIR = .moc
UI_DIR = .ui
OBJECTS_DIR = .obj
# just a message
CONFIG(debug, debug|release) {
message(Building in debug mode.)
} else {
message(Building in release mode. Ignoring debug if it is available.)
}
contains( TARGET_BIT, m64 ) {
message(Building 64 bit )
QTDIR = /apps/qt64-422
BITS = 64
QMAKE_CFLAGS = -m64
QMAKE_CXXFLAGS = -m64
QMAKE_LFLAGS = -m64
}
contains( TARGET_BIT, m32 ) {
message(Building 32 bit )
QTDIR = /apps/qt32-422
BITS =
QMAKE_CFLAGS = -m32
QMAKE_CXXFLAGS = -m32
QMAKE_LFLAGS = -m32
}
!isEmpty( TARGET_BIT ) {
message( TARGET_BIT = $$TARGET_BIT )
CONFIG -= qt
CONFIG += moc
INCLUDEPATH += \
$$QTDIR/include/QtCore \
$$QTDIR/include/QtGui \
$$QTDIR/include/QtNetwork \
$$QTDIR/include/Qt3Support \
$$QTDIR/include
LIBS += $$QTDIR/lib -lQtCore -lQtGui -lQtNetwork -lQt3Support
} else {
message( Build in default )
INCLUDEPATH += ${QTDIR}/include/Qt3Support
}
# FORTRAN configuration file
exists( $$PWD/config.for ) {
include( $$PWD/config.for )
} else {
include( $(MAKE_ROOT)/bin/config.for )
}
LANGUAGE = C++ C
Bookmarks