]> git.saurik.com Git - apple/javascriptcore.git/blame - kjs/testkjs.pro
JavaScriptCore-461.tar.gz
[apple/javascriptcore.git] / kjs / testkjs.pro
CommitLineData
b37bf2e1
A
1TEMPLATE = app
2TARGET = testkjs
3DESTDIR = ..
4SOURCES = testkjs.cpp
5QT -= gui
6DEFINES -= KJS_IDENTIFIER_HIDE_GLOBALS
7INCLUDEPATH += $$PWD/.. $$PWD $$PWD/../bindings $$PWD/../bindings/c $$PWD/../wtf
8CONFIG -= app_bundle
9qt-port:DEFINES += BUILDING_QT__
10#qt-port:LIBS += -L$$OUTPUT_DIR/lib -lQtWebKit
11gtk-port {
12 QMAKE_CXXFLAGS += $$system(icu-config --cppflags)
13 LIBS += $$system(icu-config --ldflags)
14}
15QMAKE_RPATHDIR += $$OUTPUT_DIR/lib
16
17isEmpty(OUTPUT_DIR):OUTPUT_DIR=$$PWD/../..
18include($$OUTPUT_DIR/config.pri)
19OBJECTS_DIR = tmp
20OBJECTS_DIR_WTR = $$OBJECTS_DIR/
21win32-*: OBJECTS_DIR_WTR ~= s|/|\|
22include($$PWD/../JavaScriptCore.pri)
23
24# Hack! Fix this.
25SOURCES -= 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