Mercurial > projects > qtd
annotate generator/generator.pri @ 414:b2a803c73b89 default tip
Declare tabArray const.
author | David Nadlinger <code@klickverbot.at> |
---|---|
date | Fri, 06 May 2011 13:39:49 +0200 |
parents | d2f48c4cb3e3 |
children |
rev | line source |
---|---|
1 | 1 isEmpty(GENERATORPATH):GENERATORPATH = $$PWD |
2 INCLUDEPATH += $$GENERATORPATH | |
3 TEMPLATE = app | |
384
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
4 TARGET += |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
5 DEPENDPATH += $$GENERATORPATH \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
6 tests \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
7 parser |
1 | 8 mac:CONFIG -= app_bundle |
9 INCLUDEPATH += $$GENERATORPATH/. | |
10 INCLUDEPATH += $$GENERATORPATH/../common | |
11 unix:CONFIG += debug_and_release | |
12 CONFIG += console | |
13 RESOURCES += generator.qrc | |
14 include($$GENERATORPATH/parser/rxx.pri) | |
15 include($$GENERATORPATH/parser/rpp/rpp.pri) | |
384
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
16 win32-msvc2005: { |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
17 QMAKE_CXXFLAGS += -wd4996 |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
18 QMAKE_CFLAGS += -wd4996 |
1 | 19 } |
20 | |
21 # Input | |
384
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
22 HEADERS += $$GENERATORPATH/generator.h \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
23 $$GENERATORPATH/main.h \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
24 $$GENERATORPATH/reporthandler.h \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
25 $$GENERATORPATH/typeparser.h \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
26 $$GENERATORPATH/typesystem.h \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
27 $$GENERATORPATH/asttoxml.h \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
28 $$GENERATORPATH/fileout.h \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
29 $$GENERATORPATH/generatorset.h \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
30 $$GENERATORPATH/metajava.h \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
31 $$GENERATORPATH/customtypes.h \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
32 $$GENERATORPATH/abstractmetabuilder.h \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
33 $$GENERATORPATH/abstractmetalang.h \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
34 $$GENERATORPATH/prigenerator.h \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
35 global.h |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
36 SOURCES += $$GENERATORPATH/generator.cpp \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
37 $$GENERATORPATH/main.cpp \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
38 $$GENERATORPATH/reporthandler.cpp \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
39 $$GENERATORPATH/typeparser.cpp \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
40 $$GENERATORPATH/typesystem.cpp \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
41 $$GENERATORPATH/asttoxml.cpp \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
42 $$GENERATORPATH/fileout.cpp \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
43 $$GENERATORPATH/generatorset.cpp \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
44 $$GENERATORPATH/metajava.cpp \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
45 $$GENERATORPATH/customtypes.cpp \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
46 $$GENERATORPATH/abstractmetabuilder.cpp \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
47 $$GENERATORPATH/abstractmetalang.cpp \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
48 $$GENERATORPATH/prigenerator.cpp \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
49 global.cpp |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
50 QT = core \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
51 xml |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
52 win32 { |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
53 PRECOMPILED_HEADER = generator_pch.h |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
54 CONFIG += precompile_header |
1 | 55 } |
384
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
56 win32-msvc.net { |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
57 QMAKE_CXXFLAGS += /Zm500 |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
58 QMAKE_CXXFLAGS -= -Zm200 |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
59 QMAKE_CFLAGS -= -Zm200 |
1 | 60 } |
384
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
61 mac { |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
62 contains(QT_CONFIG, x86):contains(QT_CONFIG, ppc):CONFIG += x86 \ |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
63 ppc |
1 | 64 CONFIG -= precompile_header |
65 } |