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 
     11 isEmpty(OUTPUT_DIR): OUTPUT_DIR = ../../..
     12 include($$PWD/../../../WebKit.pri)
     13 
     14 include($$PWD/../../JavaScriptCore.pri)
     15 prependJavaScriptCoreLib(../..)
     16 
     17 INCLUDEPATH += $$PWD/../../API
     18 
     19 SOURCES +=  $$PWD/qscriptengine.cpp \
     20             $$PWD/qscriptengine_p.cpp \
     21             $$PWD/qscriptvalue.cpp \
     22             $$PWD/qscriptvalueiterator.cpp \
     23             $$PWD/qscriptstring.cpp \
     24             $$PWD/qscriptprogram.cpp \
     25             $$PWD/qscriptsyntaxcheckresult.cpp \
     26             $$PWD/qscriptfunction.cpp
     27 
     28 HEADERS +=  $$PWD/qtscriptglobal.h \
     29             $$PWD/qscriptengine.h \
     30             $$PWD/qscriptengine_p.h \
     31             $$PWD/qscriptvalue.h \
     32             $$PWD/qscriptvalue_p.h \
     33             $$PWD/qscriptvalueiterator.h \
     34             $$PWD/qscriptvalueiterator_p.h \
     35             $$PWD/qscriptconverter_p.h \
     36             $$PWD/qscriptstring.h \
     37             $$PWD/qscriptstring_p.h \
     38             $$PWD/qscriptprogram.h \
     39             $$PWD/qscriptprogram_p.h \
     40             $$PWD/qscriptsyntaxcheckresult.h \
     41             $$PWD/qscriptoriginalglobalobject_p.h \
     42             $$PWD/qscriptfunction_p.h
     43 
     44 !static: DEFINES += QT_MAKEDLL
     45 
     46 DESTDIR = $$OUTPUT_DIR/lib
     47