]>
Commit | Line | Data |
---|---|---|
f9bf01c6 A |
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 | ||
4e4e5a6f | 16 | isEmpty(OUTPUT_DIR): OUTPUT_DIR = ../../.. |
f9bf01c6 | 17 | include($$PWD/../../../WebKit.pri) |
4e4e5a6f | 18 | |
f9bf01c6 | 19 | include($$PWD/../../JavaScriptCore.pri) |
4e4e5a6f | 20 | addJavaScriptCoreLib(../..) |
f9bf01c6 A |
21 | |
22 | INCLUDEPATH += $$PWD/../../API | |
23 | ||
24 | SOURCES += $$PWD/qscriptengine.cpp \ | |
25 | $$PWD/qscriptengine_p.cpp \ | |
26 | $$PWD/qscriptvalue.cpp \ | |
4e4e5a6f A |
27 | $$PWD/qscriptstring.cpp \ |
28 | $$PWD/qscriptprogram.cpp \ | |
29 | $$PWD/qscriptsyntaxcheckresult.cpp \ | |
f9bf01c6 A |
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 \ | |
4e4e5a6f A |
37 | $$PWD/qscriptstring.h \ |
38 | $$PWD/qscriptstring_p.h \ | |
39 | $$PWD/qscriptprogram.h \ | |
40 | $$PWD/qscriptprogram_p.h \ | |
41 | $$PWD/qscriptsyntaxcheckresult.h \ | |
f9bf01c6 A |
42 | |
43 | ||
44 | !static: DEFINES += QT_MAKEDLL | |
45 | ||
46 | DESTDIR = $$OUTPUT_DIR/lib |