qmljs-lib.pri 1.1 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/qmljspropertyreader.h \
26
    $$PWD/qmljsrewriter.h
27

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

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

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