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
|
######################################################################
# Generated by Jens Krueger
######################################################################
TEMPLATE = app
win32:TEMPLATE = vcapp
CONFIG += exceptions largefile link_prl static stl warn_on
CONFIG -= app_bundle
macx:DEFINES += QT_MAC_USE_COCOA=1
TARGET = Build/ExtractDebugInfo
DEPENDPATH += .
INCLUDEPATH += . ../ ../Tuvok/Basics/3rdParty ../Tuvok
LIBS = -L../Tuvok/Build -L../Tuvok/IO/expressions -lTuvok
unix:QMAKE_CXXFLAGS += -fno-strict-aliasing
unix:QMAKE_CFLAGS += -fno-strict-aliasing
# Find the location of QtGui's prl file, and include it here so we can look at
# the QMAKE_PRL_CONFIG variable.
TEMP = $$[QT_INSTALL_LIBS] libQtGui.prl
PRL = $$[QT_INSTALL_LIBS] QtGui.framework/QtGui.prl
TEMP = $$join(TEMP, "/")
PRL = $$join(PRL, "/")
exists($$TEMP) {
include($$TEMP)
}
exists($$PRL) {
include($$PRL)
}
### Should we link Qt statically or as a shared lib?
# If the PRL config contains the `shared' configuration, then the installed
# Qt is shared. In that case, disable the image plugins.
contains(QMAKE_PRL_CONFIG, shared) {
message("Shared build, ensuring there will be image plugins linked in.")
QTPLUGIN -= qgif qjpeg qtiff
} else {
message("Static build, forcing image plugins to get loaded.")
QTPLUGIN += qgif qjpeg qtiff
}
# Input
SOURCES += main.cpp
|