2010-11-22 Nat Duca <nduca@chromium.org>
[WebKit-https.git] / JavaScriptCore / jsc.pro
1 TEMPLATE = app
2 TARGET = jsc
3 DESTDIR = .
4 SOURCES = jsc.cpp
5 QT -= gui
6 CONFIG -= app_bundle
7 CONFIG += building-libs
8 win32-*: CONFIG += console
9 win32-msvc*: CONFIG += exceptions_off stl_off
10
11 isEmpty(OUTPUT_DIR): OUTPUT_DIR= ..
12 include($$PWD/../WebKit.pri)
13
14 CONFIG += link_pkgconfig
15
16 QMAKE_RPATHDIR += $$OUTPUT_DIR/lib
17
18 !CONFIG(release, debug|release) {
19     OBJECTS_DIR = obj/debug
20 } else { # Release
21     OBJECTS_DIR = obj/release
22 }
23 OBJECTS_DIR_WTR = $$OBJECTS_DIR$${QMAKE_DIR_SEP}
24 include($$PWD/JavaScriptCore.pri)
25 addJavaScriptCoreLib(.)
26
27 symbian {
28     TARGET.CAPABILITY = ReadUserData WriteUserData NetworkServices
29 }
30
31 mac {
32     LIBS_PRIVATE += -framework AppKit
33 }
34
35 wince* {
36     LIBS += mmtimer.lib
37 }
38
39 # Prevent warnings about difference in visibility on Mac OS X
40 contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
41 unix:contains(QT_CONFIG, reduce_relocations):CONFIG += bsymbolic_functions