qmljs-lib.pri 1.13 KB
Newer Older
1
contains(CONFIG, dll) {
2
    DEFINES += QMLJS_BUILD_DIR
3
4
5
6
} else {
    DEFINES += QML_BUILD_STATIC_LIB
}

7
include(parser/parser.pri)
8
include(../utils/utils.pri)
9

10
11
DEPENDPATH += $$PWD
INCLUDEPATH += $$PWD/..
12

13
HEADERS += \
14
15
    $$PWD/qmljs_global.h \
    $$PWD/qmljsbind.h \
16
    $$PWD/qmljsevaluate.h \
17
18
    $$PWD/qmljsdocument.h \
    $$PWD/qmljsscanner.h \
19
    $$PWD/qmljsinterpreter.h \
Christian Kamm's avatar
Christian Kamm committed
20
    $$PWD/qmljslink.h \
21
    $$PWD/qmljscheck.h \
22
    $$PWD/qmljsscopebuilder.h \
23
    $$PWD/qmljslineinfo.h \
24
    $$PWD/qmljscompletioncontextfinder.h \
25
    $$PWD/qmljsicontextpane.h \
26
    $$PWD/qmljspropertyreader.h \
27
    $$PWD/qmljsrewriter.h
28

29
SOURCES += \
30
    $$PWD/qmljsbind.cpp \
31
    $$PWD/qmljsevaluate.cpp \
32
33
    $$PWD/qmljsdocument.cpp \
    $$PWD/qmljsscanner.cpp \
34
    $$PWD/qmljsinterpreter.cpp \
Christian Kamm's avatar
Christian Kamm committed
35
    $$PWD/qmljslink.cpp \
36
    $$PWD/qmljscheck.cpp \
37
    $$PWD/qmljsscopebuilder.cpp \
38
    $$PWD/qmljslineinfo.cpp \
39
    $$PWD/qmljscompletioncontextfinder.cpp \
40
    $$PWD/qmljspropertyreader.cpp \
41
    $$PWD/qmljsrewriter.cpp
42

Christian Kamm's avatar
Christian Kamm committed
43
44
45
OTHER_FILES += \
    $$PWD/parser/qmljs.g

46
contains(QT, gui) {
47
48
    SOURCES += $$PWD/qmljsindenter.cpp
    HEADERS += $$PWD/qmljsindenter.h
49
}