source: trunk/src/moc/moc.pro@ 105

Last change on this file since 105 was 29, checked in by dmik, 20 years ago

Removed OBJECTS_DIR variable from moc.pro to avoid creating .obj files in the source directory.

File size: 2.0 KB
Line 
1TEMPLATE = app
2TARGET = moc
3
4CONFIG = console release qtinc yacc lex_included yacc_no_name_mangle
5DEFINES += QT_MOC QT_NO_CODECS QT_LITE_UNICODE QT_NO_COMPONENT \
6 QT_NO_STL QT_NO_COMPRESS
7win32:DEFINES += QT_NODLL
8os2:DEFINES += QT_NODLL
9DESTDIR = ../../bin
10
11
12INCLUDEPATH += $$QT_SOURCE_TREE/include ../tools .
13DEPENDPATH += $$QT_SOURCE_TREE/include ../tools .
14LIBS =
15SOURCES = ../tools/qbuffer.cpp \
16 ../tools/qptrcollection.cpp \
17 ../tools/qcstring.cpp \
18 ../tools/qdatastream.cpp \
19 ../tools/qdatetime.cpp \
20 ../tools/qfile.cpp \
21 ../tools/qdir.cpp \
22 ../tools/qfileinfo.cpp \
23 ../tools/qgarray.cpp \
24 ../tools/qgdict.cpp \
25 ../tools/qglist.cpp \
26 ../tools/qglobal.cpp \
27 ../tools/qgvector.cpp \
28 ../tools/qiodevice.cpp \
29 ../tools/qregexp.cpp \
30 ../tools/qstring.cpp \
31 ../tools/qlocale.cpp \
32 ../tools/qunicodetables.cpp \
33 ../tools/qstringlist.cpp \
34 ../tools/qtextstream.cpp \
35 ../tools/qbitarray.cpp \
36 ../tools/qmap.cpp \
37 ../tools/qgcache.cpp \
38 ../codecs/qtextcodec.cpp \
39 ../codecs/qutfcodec.cpp
40
41isEmpty(QT_PRODUCT)|contains(QT_PRODUCT, qt-internal) {
42 LEXSOURCES = moc.l
43 YACCSOURCES = moc.y
44} else {
45 SOURCES += moc_yacc.cpp
46}
47
48unix:SOURCES += ../tools/qfile_unix.cpp ../tools/qdir_unix.cpp ../tools/qfileinfo_unix.cpp
49win32:SOURCES += ../tools/qfile_win.cpp ../tools/qdir_win.cpp ../tools/qfileinfo_win.cpp
50os2:SOURCES += ../tools/qfile_pm.cpp ../tools/qdir_pm.cpp ../tools/qfileinfo_pm.cpp
51macx:LIBS += -framework Carbon
52
53target.path=$$bins.path
54INSTALLS += target
55
56*-mwerks {
57 TEMPLATE = lib
58 TARGET = McMoc
59 CONFIG -= static
60 CONFIG += shared plugin
61 DEFINES += MOC_MWERKS_PLUGIN
62 MWERKSDIR = $QT_SOURCE_TREE/util/mwerks_plugin
63 INCLUDEPATH += $$MWERKSDIR/Headers
64 LIBS += $$MWERKSDIR/Libraries/PluginLib4.shlb
65 SOURCES += mwerks_mac.cpp
66}
Note: See TracBrowser for help on using the repository browser.