Home | History | Annotate | Download | only in JavaScriptCore
      1 TEMPLATE = app
      2 TARGET = jsc
      3 DESTDIR = .
      4 SOURCES = jsc.cpp
      5 QT -= gui
      6 CONFIG -= app_bundle
      7 CONFIG += building-libs
      8 win32-*: CONFIG += console
      9 win32-msvc*: CONFIG += exceptions_off stl_off
     10 
     11 include($$PWD/../WebKit.pri)
     12 
     13 CONFIG += link_pkgconfig
     14 
     15 QMAKE_RPATHDIR += $$OUTPUT_DIR/lib
     16 
     17 isEmpty(OUTPUT_DIR):OUTPUT_DIR=$$PWD/..
     18 CONFIG(debug, debug|release) {
     19     OBJECTS_DIR = obj/debug
     20 } else { # Release
     21     OBJECTS_DIR = obj/release
     22 }
     23 OBJECTS_DIR_WTR = $$OBJECTS_DIR$${QMAKE_DIR_SEP}
     24 include($$PWD/JavaScriptCore.pri)
     25 
     26 *-g++*:QMAKE_CXXFLAGS_RELEASE -= -O2
     27 *-g++*:QMAKE_CXXFLAGS_RELEASE += -O3
     28 
     29 symbian {
     30     TARGET.CAPABILITY = ReadUserData WriteUserData NetworkServices
     31 }
     32 
     33 mac {
     34     LIBS_PRIVATE += -framework AppKit
     35 }