qmljs-lib.pri 2.79 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

9
HEADERS += \
10 11
    $$PWD/qmljs_global.h \
    $$PWD/qmljsbind.h \
12
    $$PWD/qmljsbundle.h \
13
    $$PWD/qmljsevaluate.h \
14
    $$PWD/qmljsfindexportedcpptypes.h \
15 16
    $$PWD/qmljsdocument.h \
    $$PWD/qmljsscanner.h \
17
    $$PWD/qmljsinterpreter.h \
Christian Kamm's avatar
Christian Kamm committed
18
    $$PWD/qmljslink.h \
19
    $$PWD/qmljscheck.h \
20
    $$PWD/qmljsscopebuilder.h \
21
    $$PWD/qmljslineinfo.h \
22
    $$PWD/qmljscompletioncontextfinder.h \
23
    $$PWD/qmljsmodelmanagerinterface.h \
24
    $$PWD/qmljsicontextpane.h \
25
    $$PWD/qmljspropertyreader.h \
26
    $$PWD/qmljsrewriter.h \
27
    $$PWD/qmljsicons.h \
28
    $$PWD/qmljsdelta.h \
29
    $$PWD/qmljsplugindumper.h \
30
    $$PWD/qmljstypedescriptionreader.h \
31
    $$PWD/qmljsscopeastpath.h \
32
    $$PWD/qmljsvalueowner.h \
33
    $$PWD/qmljscontext.h \
34
    $$PWD/qmljsscopechain.h \
35
    $$PWD/qmljsutils.h \
Leandro Melo's avatar
Leandro Melo committed
36
    $$PWD/qmljsstaticanalysismessage.h \
37 38 39
    $$PWD/jsoncheck.h \
    $$PWD/consolemanagerinterface.h \
    $$PWD/consoleitem.h \
Thomas Hartmann's avatar
Thomas Hartmann committed
40
    $$PWD/iscriptevaluator.h \
Fawzi Mohamed's avatar
Fawzi Mohamed committed
41
    $$PWD/qmljssimplereader.h \
Fawzi Mohamed's avatar
Fawzi Mohamed committed
42
    $$PWD/persistenttrie.h \
Fawzi Mohamed's avatar
Fawzi Mohamed committed
43
    $$PWD/qmljsqrcparser.h \
Fawzi Mohamed's avatar
Fawzi Mohamed committed
44 45
    $$PWD/qmljsconstants.h \
    $$PWD/qmljsimportdependencies.h \
46
    $$PWD/qmljsviewercontext.h \
47 48
    $$PWD/qmljsdescribevalue.h \
    $$PWD/qmljsdialect.h
49

50
SOURCES += \
51
    $$PWD/qmljsbind.cpp \
52
    $$PWD/qmljsbundle.cpp \
53
    $$PWD/qmljsevaluate.cpp \
54
    $$PWD/qmljsfindexportedcpptypes.cpp \
55 56
    $$PWD/qmljsdocument.cpp \
    $$PWD/qmljsscanner.cpp \
57
    $$PWD/qmljsinterpreter.cpp \
Christian Kamm's avatar
Christian Kamm committed
58
    $$PWD/qmljslink.cpp \
59
    $$PWD/qmljscheck.cpp \
60
    $$PWD/qmljsscopebuilder.cpp \
61
    $$PWD/qmljslineinfo.cpp \
62
    $$PWD/qmljscompletioncontextfinder.cpp \
con's avatar
con committed
63
    $$PWD/qmljsmodelmanagerinterface.cpp \
64
    $$PWD/qmljspropertyreader.cpp \
65
    $$PWD/qmljsrewriter.cpp \
66
    $$PWD/qmljsicons.cpp \
67
    $$PWD/qmljsdelta.cpp \
68
    $$PWD/qmljsplugindumper.cpp \
69
    $$PWD/qmljstypedescriptionreader.cpp \
70
    $$PWD/qmljsscopeastpath.cpp \
71
    $$PWD/qmljsvalueowner.cpp \
72
    $$PWD/qmljscontext.cpp \
73
    $$PWD/qmljsscopechain.cpp \
74
    $$PWD/qmljsutils.cpp \
Leandro Melo's avatar
Leandro Melo committed
75
    $$PWD/qmljsstaticanalysismessage.cpp \
76 77
    $$PWD/jsoncheck.cpp \
    $$PWD/consolemanagerinterface.cpp \
Thomas Hartmann's avatar
Thomas Hartmann committed
78
    $$PWD/consoleitem.cpp \
Fawzi Mohamed's avatar
Fawzi Mohamed committed
79
    $$PWD/qmljssimplereader.cpp \
Fawzi Mohamed's avatar
Fawzi Mohamed committed
80
    $$PWD/persistenttrie.cpp \
Fawzi Mohamed's avatar
Fawzi Mohamed committed
81 82
    $$PWD/qmljsqrcparser.cpp \
    $$PWD/qmljsimportdependencies.cpp \
83
    $$PWD/qmljsviewercontext.cpp \
84 85
    $$PWD/qmljsdescribevalue.cpp \
    $$PWD/qmljsdialect.cpp
Fawzi Mohamed's avatar
Fawzi Mohamed committed
86

87 88 89

RESOURCES += \
    $$PWD/qmljs.qrc
90

91
DISTFILES += \
Christian Kamm's avatar
Christian Kamm committed
92 93
    $$PWD/parser/qmljs.g

94
contains(QT, gui) {
95 96
    SOURCES += \
        $$PWD/qmljsindenter.cpp \
97 98
        $$PWD/qmljscodeformatter.cpp \
        $$PWD/qmljsreformatter.cpp
99 100 101

    HEADERS += \
        $$PWD/qmljsindenter.h \
102 103
        $$PWD/qmljscodeformatter.h \
        $$PWD/qmljsreformatter.h
104
}
Fawzi Mohamed's avatar
Fawzi Mohamed committed
105 106

QT += xml