]>
Commit | Line | Data |
---|---|---|
1 | TEMPLATE = app | |
2 | TARGET = jsc | |
3 | DESTDIR = . | |
4 | SOURCES = jsc.cpp | |
5 | QT -= gui | |
6 | INCLUDEPATH += $$PWD \ | |
7 | $$PWD/parser \ | |
8 | $$PWD/bindings \ | |
9 | $$PWD/bindings/c \ | |
10 | $$PWD/wtf \ | |
11 | $$PWD/jit \ | |
12 | $$PWD/bytecode | |
13 | CONFIG -= app_bundle | |
14 | DEFINES += BUILDING_QT__ | |
15 | CONFIG += building-libs | |
16 | ||
17 | CONFIG(release) { | |
18 | DEFINES += NDEBUG USE_SYSTEM_MALLOC | |
19 | } | |
20 | ||
21 | include($$PWD/../WebKit.pri) | |
22 | ||
23 | CONFIG += link_pkgconfig | |
24 | ||
25 | QMAKE_RPATHDIR += $$OUTPUT_DIR/lib | |
26 | ||
27 | isEmpty(OUTPUT_DIR):OUTPUT_DIR=$$PWD/.. | |
28 | include($$OUTPUT_DIR/config.pri) | |
29 | OBJECTS_DIR = tmp | |
30 | OBJECTS_DIR_WTR = $$OBJECTS_DIR/ | |
31 | win32-*: OBJECTS_DIR_WTR ~= s|/|\| | |
32 | include($$PWD/JavaScriptCore.pri) | |
33 | ||
34 | lessThan(QT_MINOR_VERSION, 4) { | |
35 | DEFINES += QT_BEGIN_NAMESPACE="" QT_END_NAMESPACE="" | |
36 | } | |
37 | ||
38 | *-g++*:QMAKE_CXXFLAGS_RELEASE -= -O2 | |
39 | *-g++*:QMAKE_CXXFLAGS_RELEASE += -O3 |