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