]> git.saurik.com Git - apple/javascriptcore.git/blob - qt/api/QtScript.pro
JavaScriptCore-621.1.tar.gz
[apple/javascriptcore.git] / qt / api / QtScript.pro
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 isEmpty(OUTPUT_DIR): OUTPUT_DIR = ../../..
17 include($$PWD/../../../WebKit.pri)
18
19 include($$PWD/../../JavaScriptCore.pri)
20 addJavaScriptCoreLib(../..)
21
22 INCLUDEPATH += $$PWD/../../API
23
24 SOURCES += $$PWD/qscriptengine.cpp \
25 $$PWD/qscriptengine_p.cpp \
26 $$PWD/qscriptvalue.cpp \
27 $$PWD/qscriptstring.cpp \
28 $$PWD/qscriptprogram.cpp \
29 $$PWD/qscriptsyntaxcheckresult.cpp \
30
31 HEADERS += $$PWD/qtscriptglobal.h \
32 $$PWD/qscriptengine.h \
33 $$PWD/qscriptengine_p.h \
34 $$PWD/qscriptvalue.h \
35 $$PWD/qscriptvalue_p.h \
36 $$PWD/qscriptconverter_p.h \
37 $$PWD/qscriptstring.h \
38 $$PWD/qscriptstring_p.h \
39 $$PWD/qscriptprogram.h \
40 $$PWD/qscriptprogram_p.h \
41 $$PWD/qscriptsyntaxcheckresult.h \
42
43
44 !static: DEFINES += QT_MAKEDLL
45
46 DESTDIR = $$OUTPUT_DIR/lib