qmljs.qbs 3.48 KB
Newer Older
1
import qbs 1.0
2
import QtcLibrary
Joerg Bornemann's avatar
Joerg Bornemann committed
3

4
QtcLibrary {
Joerg Bornemann's avatar
Joerg Bornemann committed
5 6
    name: "QmlJS"

Christian Kandeler's avatar
Christian Kandeler committed
7
    cpp.defines: base.concat([
8
        "QMLJS_BUILD_DIR"
Christian Kandeler's avatar
Christian Kandeler committed
9
    ])
Joerg Bornemann's avatar
Joerg Bornemann committed
10 11
    cpp.optimization: "fast"

12 13
    Depends { name: "Utils" }
    Depends { name: "LanguageUtils" }
14
    Depends { name: "CPlusPlus" }
Fawzi Mohamed's avatar
Fawzi Mohamed committed
15
    Depends { name: "Qt"; submodules: ["widgets", "script", "xml"] }
Joerg Bornemann's avatar
Joerg Bornemann committed
16

17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
    Group {
        name: "General"
        files: [
            "consoleitem.cpp", "consoleitem.h",
            "consolemanagerinterface.cpp", "consolemanagerinterface.h",
            "iscriptevaluator.h",
            "jsoncheck.cpp", "jsoncheck.h",
            "persistenttrie.cpp", "persistenttrie.h",
            "qmljs.qrc",
            "qmljs_global.h",
            "qmljsbind.cpp", "qmljsbind.h",
            "qmljsbundle.cpp", "qmljsbundle.h",
            "qmljscheck.cpp", "qmljscheck.h",
            "qmljscodeformatter.cpp", "qmljscodeformatter.h",
            "qmljscompletioncontextfinder.cpp", "qmljscompletioncontextfinder.h",
32
            "qmljsconstants.h",
33 34 35 36
            "qmljscontext.cpp", "qmljscontext.h",
            "qmljsdelta.cpp", "qmljsdelta.h",
            "qmljsdocument.cpp", "qmljsdocument.h",
            "qmljsevaluate.cpp", "qmljsevaluate.h",
37
            "qmljsfindexportedcpptypes.cpp", "qmljsfindexportedcpptypes.h",
38 39
            "qmljsicons.cpp", "qmljsicons.h",
            "qmljsicontextpane.h",
40
            "qmljsimportdependencies.cpp", "qmljsimportdependencies.h",
41 42 43 44 45
            "qmljsindenter.cpp", "qmljsindenter.h",
            "qmljsinterpreter.cpp", "qmljsinterpreter.h",
            "qmljslineinfo.cpp", "qmljslineinfo.h",
            "qmljslink.cpp", "qmljslink.h",
            "qmljsmodelmanagerinterface.cpp", "qmljsmodelmanagerinterface.h",
46
            "qmljsplugindumper.cpp", "qmljsplugindumper.h",
47 48 49 50 51 52 53 54 55 56 57 58
            "qmljspropertyreader.cpp", "qmljspropertyreader.h",
            "qmljsqrcparser.cpp", "qmljsqrcparser.h",
            "qmljsreformatter.cpp", "qmljsreformatter.h",
            "qmljsrewriter.cpp", "qmljsrewriter.h",
            "qmljsscanner.cpp", "qmljsscanner.h",
            "qmljsscopeastpath.cpp", "qmljsscopeastpath.h",
            "qmljsscopebuilder.cpp", "qmljsscopebuilder.h",
            "qmljsscopechain.cpp", "qmljsscopechain.h",
            "qmljssimplereader.cpp", "qmljssimplereader.h",
            "qmljsstaticanalysismessage.cpp", "qmljsstaticanalysismessage.h",
            "qmljstypedescriptionreader.cpp", "qmljstypedescriptionreader.h",
            "qmljsutils.cpp", "qmljsutils.h",
59 60
            "qmljsvalueowner.cpp", "qmljsvalueowner.h",
            "qmljsviewercontext.cpp", "qmljsviewercontext.h"
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
        ]
    }

    Group {
        name: "Images"
        prefix: "images/"
        files: [
            "element.png",
            "func.png",
            "property.png",
            "publicmember.png",
        ]
    }

    Group {
        name: "Parser"
        prefix: "parser/"
        files: [
            "qmldirparser.cpp", "qmldirparser_p.h",
            "qmlerror.cpp", "qmlerror.h",
            "qmljsast.cpp", "qmljsast_p.h",
            "qmljsastfwd_p.h",
            "qmljsastvisitor.cpp", "qmljsastvisitor_p.h",
            "qmljsengine_p.cpp", "qmljsengine_p.h",
            "qmljsglobal_p.h",
            "qmljsgrammar.cpp", "qmljsgrammar_p.h",
            "qmljskeywords_p.h",
            "qmljslexer.cpp", "qmljslexer_p.h",
            "qmljsmemorypool_p.h",
            "qmljsparser.cpp", "qmljsparser_p.h",
        ]
    }
Joerg Bornemann's avatar
Joerg Bornemann committed
93

94
    Export {
Christian Kandeler's avatar
Christian Kandeler committed
95
        Depends { name: "CPlusPlus" }
Christian Kandeler's avatar
Christian Kandeler committed
96
        Depends { name: "LanguageUtils" }
Joerg Bornemann's avatar
Joerg Bornemann committed
97 98
    }
}