linamh/x11-libs/qt-core/files/moc.pro
2010-12-12 15:10:45 +00:00

88 lines
2.7 KiB
Prolog

TEMPLATE = app
TARGET = moc
CONFIG += console qtinc
CONFIG -= qt
build_all:!build_pass {
CONFIG -= build_all
CONFIG += release
}
mac:CONFIG -= app_bundle incremental
DEFINES += QT_BOOTSTRAPPED QT_MOC QT_NO_CODECS QT_LITE_UNICODE QT_NO_LIBRARY \
QT_NO_STL QT_NO_COMPRESS QT_NO_DATASTREAM QT_NO_TEXTSTREAM \
QT_NO_TEXTCODEC QT_NO_UNICODETABLES QT_NO_THREAD \
QT_NO_REGEXP QT_NO_QOBJECT QT_NO_SYSTEMLOCALE QT_NO_GEOM_VARIANT
DEFINES += QT_NO_USING_NAMESPACE
win32:DEFINES += QT_NODLL
DESTDIR = ../../../bin
INCLUDEPATH = ../../corelib/arch/generic $$QT_BUILD_TREE/include . \
$$QT_BUILD_TREE/include/QtCore
DEPENDPATH += $$INCLUDEPATH ../../corelib/base ../../corelib/tools ../../corelib/io
LIBS =
OBJECTS_DIR = .
include(moc.pri)
HEADERS += qdatetime_p.h
SOURCES += main.cpp
# Qt tools needed to link moc
SOURCES += ../../corelib/global/qglobal.cpp \
../../corelib/global/qmalloc.cpp \
../../corelib/global/qnumeric.cpp \
../../corelib/io/qbuffer.cpp \
../../corelib/io/qdir.cpp \
../../corelib/io/qdiriterator.cpp \
../../corelib/io/qfile.cpp \
../../corelib/io/qfileinfo.cpp \
../../corelib/io/qfsfileengine.cpp \
../../corelib/io/qfsfileengine_iterator.cpp \
../../corelib/io/qiodevice.cpp \
../../corelib/io/qtemporaryfile.cpp \
../../corelib/io/qtextstream.cpp \
../../corelib/io/qurl.cpp \
../../corelib/kernel/qmetatype.cpp \
../../corelib/tools/qbytearraymatcher.cpp \
../../corelib/tools/qdatetime.cpp \
../../corelib/tools/qhash.cpp \
../../corelib/tools/qlistdata.cpp \
../../corelib/tools/qlocale.cpp \
../../corelib/tools/qmap.cpp \
../../corelib/tools/qstring.cpp \
../../corelib/tools/qstringlist.cpp \
../../corelib/tools/qvector.cpp \
../../corelib/kernel/qvariant.cpp \
../../corelib/io/qabstractfileengine.cpp \
../../corelib/tools/qbytearray.cpp \
../../corelib/tools/qvsnprintf.cpp
unix:SOURCES += ../../corelib/io/qfsfileengine_unix.cpp ../../corelib/io/qfsfileengine_iterator_unix.cpp
win32:SOURCES += ../../corelib/io/qfsfileengine_win.cpp ../../corelib/io/qfsfileengine_iterator_win.cpp
macx: {
SOURCES += ../../corelib/kernel/qcore_mac.cpp
LIBS += -framework CoreServices
}
target.path=$$[QT_INSTALL_BINS]
INSTALLS += target
*-mwerks {
TEMPLATE = lib
TARGET = McMoc
CONFIG -= static
CONFIG += shared plugin
DEFINES += MOC_MWERKS_PLUGIN
MWERKSDIR = $QT_SOURCE_TREE/util/mwerks_plugin
INCLUDEPATH += $$MWERKSDIR/Headers
LIBS += $$MWERKSDIR/Libraries/PluginLib4.shlb
SOURCES += mwerks_mac.cpp
}
include(../../qt_targets.pri)