summaryrefslogtreecommitdiff
path: root/src/libs/qmljs/qmljs-lib.pri
blob: 1fa8e57b1d8ddd495bb82d2bbbda08dc4851ceae (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
contains(CONFIG, dll) {
    DEFINES += QMLJS_BUILD_DIR
} else {
    DEFINES += QML_BUILD_STATIC_LIB
}

include(parser/parser.pri)

INCLUDEPATH += $$PWD/..

HEADERS += \
    $$PWD/qmljs_global.h \
    $$PWD/qmljsbind.h \
    $$PWD/qmljsevaluate.h \
    $$PWD/qmljsdocument.h \
    $$PWD/qmljsscanner.h \
    $$PWD/qmljsinterpreter.h \
    $$PWD/qmljslink.h \
    $$PWD/qmljscheck.h \
    $$PWD/qmljsscopebuilder.h \
    $$PWD/qmljslineinfo.h \
    $$PWD/qmljscompletioncontextfinder.h \
    $$PWD/qmljsmodelmanagerinterface.h \
    $$PWD/qmljsicontextpane.h \
    $$PWD/qmljspropertyreader.h \
    $$PWD/qmljsrewriter.h \
    $$PWD/qmljsicons.h \
    $$PWD/qmljsdelta.h \
    $$PWD/qmljstypedescriptionreader.h \
    $$PWD/qmljsscopeastpath.h \
    $$PWD/qmljsvalueowner.h \
    $$PWD/qmljscontext.h \
    $$PWD/qmljsscopechain.h \
    $$PWD/qmljsutils.h \
    $$PWD/qmljsstaticanalysismessage.h

SOURCES += \
    $$PWD/qmljsbind.cpp \
    $$PWD/qmljsevaluate.cpp \
    $$PWD/qmljsdocument.cpp \
    $$PWD/qmljsscanner.cpp \
    $$PWD/qmljsinterpreter.cpp \
    $$PWD/qmljslink.cpp \
    $$PWD/qmljscheck.cpp \
    $$PWD/qmljsscopebuilder.cpp \
    $$PWD/qmljslineinfo.cpp \
    $$PWD/qmljscompletioncontextfinder.cpp \
    $$PWD/qmljsmodelmanagerinterface.cpp \
    $$PWD/qmljspropertyreader.cpp \
    $$PWD/qmljsrewriter.cpp \
    $$PWD/qmljsicons.cpp \
    $$PWD/qmljsdelta.cpp \
    $$PWD/qmljstypedescriptionreader.cpp \
    $$PWD/qmljsscopeastpath.cpp \
    $$PWD/qmljsvalueowner.cpp \
    $$PWD/qmljscontext.cpp \
    $$PWD/qmljsscopechain.cpp \
    $$PWD/qmljsutils.cpp \
    $$PWD/qmljsstaticanalysismessage.cpp

RESOURCES += \
    $$PWD/qmljs.qrc

OTHER_FILES += \
    $$PWD/parser/qmljs.g

contains(QT, gui) {
    SOURCES += \
        $$PWD/qmljsindenter.cpp \
        $$PWD/qmljscodeformatter.cpp \
        $$PWD/qmljsreformatter.cpp

    HEADERS += \
        $$PWD/qmljsindenter.h \
        $$PWD/qmljscodeformatter.h \
        $$PWD/qmljsreformatter.h
}