5bc11e0207306214a8a101ad6cfe437fa99244b5
[WebKit-https.git] / JavaScriptCore / testapi.pro
1 TEMPLATE = app
2 TARGET = testapi
3 SOURCES = API/tests/testapi.c
4 QT -= gui
5 CONFIG -= app_bundle
6 CONFIG += building-libs
7 win32-*: CONFIG += console
8 win32-msvc*: CONFIG += exceptions_off stl_off
9
10 isEmpty(OUTPUT_DIR): OUTPUT_DIR= ..
11 include($$PWD/../WebKit.pri)
12
13 CONFIG += link_pkgconfig
14
15 QMAKE_RPATHDIR += $$OUTPUT_DIR/lib
16
17 !CONFIG(release, debug|release) {
18     OBJECTS_DIR = obj/debug
19 } else { # Release
20     OBJECTS_DIR = obj/release
21 }
22 OBJECTS_DIR_WTR = $$OBJECTS_DIR$${QMAKE_DIR_SEP}
23 include($$PWD/JavaScriptCore.pri)
24 addJavaScriptCoreLib(.)
25
26 symbian {
27     TARGET.CAPABILITY = ReadUserData WriteUserData NetworkServices
28 }
29
30 mac {
31     LIBS_PRIVATE += -framework AppKit
32 }