Home | History | Annotate | Download | only in api
      1 TARGET     = QtScript
      2 TEMPLATE   = lib
      3 QT         = core
      4 
      5 INCLUDEPATH += $$PWD
      6 
      7 CONFIG += building-libs
      8 
      9 isEmpty(JSC_GENERATED_SOURCES_DIR):JSC_GENERATED_SOURCES_DIR = ../../generated
     10 CONFIG(debug, debug|release) {
     11     OBJECTS_DIR = obj/debug
     12 } else { # Release
     13     OBJECTS_DIR = obj/release
     14 }
     15 
     16 include($$PWD/../../../WebKit.pri)
     17 include($$PWD/../../JavaScriptCore.pri)
     18 
     19 INCLUDEPATH += $$PWD/../../API
     20 
     21 SOURCES +=  $$PWD/qscriptengine.cpp \
     22             $$PWD/qscriptengine_p.cpp \
     23             $$PWD/qscriptvalue.cpp \
     24 
     25 HEADERS +=  $$PWD/qtscriptglobal.h \
     26             $$PWD/qscriptengine.h \
     27             $$PWD/qscriptengine_p.h \
     28             $$PWD/qscriptvalue.h \
     29             $$PWD/qscriptvalue_p.h \
     30             $$PWD/qscriptconverter_p.h \
     31 
     32 
     33 !static: DEFINES += QT_MAKEDLL
     34 
     35 DESTDIR = $$OUTPUT_DIR/lib
     36 
     37