summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/JavaScriptCore/qt/api/QtScript.pro
blob: 3c2691e06eb8b878e2aeeea0eb8748879f8b3c05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
TARGET     = QtScript
TEMPLATE   = lib
QT         = core

INCLUDEPATH += $$PWD

CONFIG += building-libs

isEmpty(JSC_GENERATED_SOURCES_DIR):JSC_GENERATED_SOURCES_DIR = ../../generated
!CONFIG(release, debug|release) {
    OBJECTS_DIR = obj/debug
} else { # Release
    OBJECTS_DIR = obj/release
}

isEmpty(OUTPUT_DIR): OUTPUT_DIR = ../../..
include($$PWD/../../../WebKit.pri)

include($$PWD/../../JavaScriptCore.pri)
addJavaScriptCoreLib(../..)

INCLUDEPATH += $$PWD/../../API

SOURCES +=  $$PWD/qscriptengine.cpp \
            $$PWD/qscriptengine_p.cpp \
            $$PWD/qscriptvalue.cpp \
            $$PWD/qscriptstring.cpp \
            $$PWD/qscriptprogram.cpp \
            $$PWD/qscriptsyntaxcheckresult.cpp \

HEADERS +=  $$PWD/qtscriptglobal.h \
            $$PWD/qscriptengine.h \
            $$PWD/qscriptengine_p.h \
            $$PWD/qscriptvalue.h \
            $$PWD/qscriptvalue_p.h \
            $$PWD/qscriptconverter_p.h \
            $$PWD/qscriptstring.h \
            $$PWD/qscriptstring_p.h \
            $$PWD/qscriptprogram.h \
            $$PWD/qscriptprogram_p.h \
            $$PWD/qscriptsyntaxcheckresult.h \


!static: DEFINES += QT_MAKEDLL

DESTDIR = $$OUTPUT_DIR/lib