0
|
1 |
TEMPLATE = app
|
|
2 |
CONFIG -= moc
|
|
3 |
CONFIG += console
|
|
4 |
CONFIG -= app_bundle
|
|
5 |
build_all:!build_pass {
|
|
6 |
CONFIG -= build_all
|
|
7 |
CONFIG += release
|
|
8 |
}
|
|
9 |
QT = xml core
|
|
10 |
DEPENDPATH += .
|
|
11 |
TARGET =qt3to4
|
|
12 |
DESTDIR = ../../../bin
|
|
13 |
DEFINES += QT_NO_CAST_TO_ASCII
|
|
14 |
|
|
15 |
HEADERS += smallobject.h \
|
|
16 |
tokenengine.h \
|
|
17 |
tokenizer.h \
|
|
18 |
rpplexer.h \
|
|
19 |
rpp.h \
|
|
20 |
rpptreewalker.h \
|
|
21 |
rpptreeevaluator.h \
|
|
22 |
rppexpressionbuilder.h \
|
|
23 |
preprocessorcontrol.h \
|
|
24 |
replacetoken.h \
|
|
25 |
tokenreplacements.h \
|
|
26 |
textreplacement.h \
|
|
27 |
portingrules.h \
|
|
28 |
qtsimplexml.h \
|
|
29 |
projectporter.h \
|
|
30 |
proparser.h \
|
|
31 |
fileporter.h \
|
|
32 |
logger.h \
|
|
33 |
tokens.h \
|
|
34 |
filewriter.h \
|
|
35 |
cpplexer.h \
|
|
36 |
smallobject.h \
|
|
37 |
ast.h \
|
|
38 |
errors.h \
|
|
39 |
parser.h \
|
|
40 |
translationunit.h \
|
|
41 |
treewalker.h \
|
|
42 |
semantic.h \
|
|
43 |
codemodel.h \
|
|
44 |
codemodelwalker.h \
|
|
45 |
codemodelattributes.h
|
|
46 |
|
|
47 |
SOURCES += port.cpp \
|
|
48 |
smallobject.cpp \
|
|
49 |
tokenengine.cpp \
|
|
50 |
tokenizer.cpp \
|
|
51 |
rpplexer.cpp \
|
|
52 |
rpp.cpp \
|
|
53 |
rpptreewalker.cpp \
|
|
54 |
rpptreeevaluator.cpp \
|
|
55 |
rppexpressionbuilder.cpp \
|
|
56 |
preprocessorcontrol.cpp \
|
|
57 |
replacetoken.cpp \
|
|
58 |
tokenreplacements.cpp \
|
|
59 |
textreplacement.cpp \
|
|
60 |
portingrules.cpp \
|
|
61 |
qtsimplexml.cpp \
|
|
62 |
projectporter.cpp \
|
|
63 |
proparser.cpp \
|
|
64 |
fileporter.cpp \
|
|
65 |
logger.cpp \
|
|
66 |
filewriter.cpp \
|
|
67 |
cpplexer.cpp \
|
|
68 |
ast.cpp \
|
|
69 |
errors.cpp \
|
|
70 |
parser.cpp \
|
|
71 |
translationunit.cpp \
|
|
72 |
treewalker.cpp \
|
|
73 |
semantic.cpp \
|
|
74 |
codemodel.cpp \
|
|
75 |
codemodelwalker.cpp \
|
|
76 |
codemodelattributes.cpp
|
|
77 |
|
|
78 |
RESOURCES += qt3headers0.qrc qt3headers1.qrc qt3headers2.qrc qt3headers3.qrc
|
|
79 |
|
|
80 |
target.path=$$[QT_INSTALL_BINS]
|
|
81 |
INSTALLS += target
|
|
82 |
|
|
83 |
RULESXML = q3porting.xml
|
|
84 |
RULESXML.files = q3porting.xml
|
|
85 |
RULESXML.path = $$[QT_INSTALL_DATA]
|
|
86 |
INSTALLS += RULESXML
|
|
87 |
|
|
88 |
win32-msvc.net|win32-msvc2* {
|
|
89 |
QMAKE_CXXFLAGS -= -Zm200 -Zm300
|
|
90 |
QMAKE_CXXFLAGS += -Zm1000
|
|
91 |
QMAKE_CFLAGS -= -Zm200 -Zm300
|
|
92 |
QMAKE_CFLAGS += -Zm1000
|
|
93 |
}
|