X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/4e4e5a6f2694187498445a6ac6f1634ce8141119..1981f5dfe8d77d97469d20652f712a09400c48ed:/jsc.pro diff --git a/jsc.pro b/jsc.pro index 420a3f1..123362f 100644 --- a/jsc.pro +++ b/jsc.pro @@ -1,33 +1,37 @@ +# ------------------------------------------------------------------- +# Project file for the jsc binary (interactive interpreter) +# +# See 'Tools/qmake/README' for an overview of the build system +# ------------------------------------------------------------------- + TEMPLATE = app + TARGET = jsc -DESTDIR = . -SOURCES = jsc.cpp +DESTDIR = $${ROOT_BUILD_DIR}/bin + QT -= gui -CONFIG -= app_bundle -CONFIG += building-libs + win32-*: CONFIG += console win32-msvc*: CONFIG += exceptions_off stl_off +win32-msvc*|win32-icc: INCLUDEPATH += $$ROOT_WEBKIT_DIR/Source/JavaScriptCore/os-win32 -isEmpty(OUTPUT_DIR): OUTPUT_DIR= .. -include($$PWD/../WebKit.pri) +WEBKIT += javascriptcore wtf -CONFIG += link_pkgconfig +SOURCES = jsc.cpp -QMAKE_RPATHDIR += $$OUTPUT_DIR/lib +mac { + LIBS_PRIVATE += -framework AppKit +} -CONFIG(debug, debug|release) { - OBJECTS_DIR = obj/debug -} else { # Release - OBJECTS_DIR = obj/release +win* { + LIBS += -ladvapi32 } -OBJECTS_DIR_WTR = $$OBJECTS_DIR$${QMAKE_DIR_SEP} -include($$PWD/JavaScriptCore.pri) -addJavaScriptCoreLib(.) -symbian { - TARGET.CAPABILITY = ReadUserData WriteUserData NetworkServices +wince* { + LIBS += mmtimer.lib } -mac { - LIBS_PRIVATE += -framework AppKit -} \ No newline at end of file +# 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 +