]>
Commit | Line | Data |
---|---|---|
b37bf2e1 A |
1 | TEMPLATE = app |
2 | TARGET = testkjs | |
3 | DESTDIR = .. | |
4 | SOURCES = testkjs.cpp | |
5 | QT -= gui | |
6 | DEFINES -= KJS_IDENTIFIER_HIDE_GLOBALS | |
7 | INCLUDEPATH += $$PWD/.. $$PWD $$PWD/../bindings $$PWD/../bindings/c $$PWD/../wtf | |
8 | CONFIG -= app_bundle | |
9 | qt-port:DEFINES += BUILDING_QT__ | |
10 | #qt-port:LIBS += -L$$OUTPUT_DIR/lib -lQtWebKit | |
11 | gtk-port { | |
12 | QMAKE_CXXFLAGS += $$system(icu-config --cppflags) | |
13 | LIBS += $$system(icu-config --ldflags) | |
14 | } | |
15 | QMAKE_RPATHDIR += $$OUTPUT_DIR/lib | |
16 | ||
17 | isEmpty(OUTPUT_DIR):OUTPUT_DIR=$$PWD/../.. | |
18 | include($$OUTPUT_DIR/config.pri) | |
19 | OBJECTS_DIR = tmp | |
20 | OBJECTS_DIR_WTR = $$OBJECTS_DIR/ | |
21 | win32-*: OBJECTS_DIR_WTR ~= s|/|\| | |
22 | include($$PWD/../JavaScriptCore.pri) | |
23 | ||
24 | # Hack! Fix this. | |
25 | SOURCES -= API/JSBase.cpp \ | |
26 | API/JSCallbackConstructor.cpp \ | |
27 | API/JSCallbackFunction.cpp \ | |
28 | API/JSCallbackObject.cpp \ | |
29 | API/JSClassRef.cpp \ | |
30 | API/JSContextRef.cpp \ | |
31 | API/JSObjectRef.cpp \ | |
32 | API/JSStringRef.cpp \ | |
33 | API/JSValueRef.cpp | |
34 |