1# -------------------------------------------------------------------
2# Project file for the jsc binary (interactive interpreter)
3#
4# See 'Tools/qmake/README' for an overview of the build system
5# -------------------------------------------------------------------
6
7TEMPLATE = app
8
9TARGET = jsc
10DESTDIR = $${ROOT_BUILD_DIR}/bin
11
12QT -= gui
13
14win32-*: CONFIG += console
15win32-msvc*: CONFIG += exceptions_off stl_off
16win32-msvc*|win32-icc: INCLUDEPATH += $$ROOT_WEBKIT_DIR/Source/JavaScriptCore/os-win32
17
18WEBKIT += javascriptcore wtf
19
20SOURCES = jsc.cpp
21
22win32-* {
23    LIBS += -ladvapi32
24}
25
26wince* {
27    LIBS += mmtimer.lib
28}
29
30# Prevent warnings about difference in visibility on Mac OS X
31contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
32unix:contains(QT_CONFIG, reduce_relocations):CONFIG += bsymbolic_functions
33
34