]>
Commit | Line | Data |
---|---|---|
9dae56ea A |
1 | TEMPLATE = app |
2 | TARGET = jsc | |
3 | DESTDIR = . | |
4 | SOURCES = jsc.cpp | |
5 | QT -= gui | |
9dae56ea | 6 | CONFIG -= app_bundle |
9dae56ea | 7 | CONFIG += building-libs |
f9bf01c6 A |
8 | win32-*: CONFIG += console |
9 | win32-msvc*: CONFIG += exceptions_off stl_off | |
9dae56ea | 10 | |
4e4e5a6f | 11 | isEmpty(OUTPUT_DIR): OUTPUT_DIR= .. |
9dae56ea A |
12 | include($$PWD/../WebKit.pri) |
13 | ||
14957cd0 | 14 | unix:!mac:!symbian:CONFIG += link_pkgconfig |
9dae56ea A |
15 | |
16 | QMAKE_RPATHDIR += $$OUTPUT_DIR/lib | |
17 | ||
ba379fdc | 18 | OBJECTS_DIR_WTR = $$OBJECTS_DIR$${QMAKE_DIR_SEP} |
9dae56ea | 19 | include($$PWD/JavaScriptCore.pri) |
14957cd0 | 20 | prependJavaScriptCoreLib(.) |
f9bf01c6 A |
21 | |
22 | symbian { | |
23 | TARGET.CAPABILITY = ReadUserData WriteUserData NetworkServices | |
24 | } | |
25 | ||
26 | mac { | |
27 | LIBS_PRIVATE += -framework AppKit | |
14957cd0 A |
28 | } |
29 | ||
30 | win* { | |
31 | LIBS += -ladvapi32 | |
32 | } | |
33 | ||
34 | wince* { | |
35 | LIBS += mmtimer.lib | |
36 | } | |
37 | ||
38 | # Prevent warnings about difference in visibility on Mac OS X | |
39 | contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols | |
40 | unix:contains(QT_CONFIG, reduce_relocations):CONFIG += bsymbolic_functions |