]>
Commit | Line | Data |
---|---|---|
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 | ||
7 | TEMPLATE = app | |
8 | ||
9 | TARGET = jsc | |
10 | DESTDIR = $${ROOT_BUILD_DIR}/bin | |
11 | ||
12 | QT -= gui | |
13 | ||
14 | win32-*: CONFIG += console | |
15 | win32-msvc*: CONFIG += exceptions_off stl_off | |
16 | win32-msvc*|win32-icc: INCLUDEPATH += $$ROOT_WEBKIT_DIR/Source/JavaScriptCore/os-win32 | |
17 | ||
18 | WEBKIT += javascriptcore wtf | |
19 | ||
20 | SOURCES = jsc.cpp | |
21 | ||
22 | mac { | |
23 | LIBS_PRIVATE += -framework AppKit | |
24 | } | |
25 | ||
26 | win* { | |
27 | LIBS += -ladvapi32 | |
28 | } | |
29 | ||
30 | wince* { | |
31 | LIBS += mmtimer.lib | |
32 | } | |
33 | ||
34 | # Prevent warnings about difference in visibility on Mac OS X | |
35 | contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols | |
36 | unix:contains(QT_CONFIG, reduce_relocations):CONFIG += bsymbolic_functions | |
37 |