qmljs.qbs 3.15 KB
Newer Older
Joerg Bornemann's avatar
Joerg Bornemann committed
1
import qbs.base 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" }
Fawzi Mohamed's avatar
Fawzi Mohamed committed
14
    Depends { name: "Qt"; submodules: ["widgets", "script", "xml"] }
Joerg Bornemann's avatar
Joerg Bornemann committed
15

16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
    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",
Fawzi Mohamed's avatar
Fawzi Mohamed committed
31
            "qmljsconstants.h",
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 78 79 80 81 82 83 84 85 86 87
            "qmljscontext.cpp", "qmljscontext.h",
            "qmljsdelta.cpp", "qmljsdelta.h",
            "qmljsdocument.cpp", "qmljsdocument.h",
            "qmljsevaluate.cpp", "qmljsevaluate.h",
            "qmljsicons.cpp", "qmljsicons.h",
            "qmljsicontextpane.h",
            "qmljsindenter.cpp", "qmljsindenter.h",
            "qmljsinterpreter.cpp", "qmljsinterpreter.h",
            "qmljslineinfo.cpp", "qmljslineinfo.h",
            "qmljslink.cpp", "qmljslink.h",
            "qmljsmodelmanagerinterface.cpp", "qmljsmodelmanagerinterface.h",
            "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",
            "qmljsvalueowner.cpp", "qmljsvalueowner.h"
        ]
    }

    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
88

89
    Export {
Christian Kandeler's avatar
Christian Kandeler committed
90
        Depends { name: "LanguageUtils" }
Joerg Bornemann's avatar
Joerg Bornemann committed
91 92
    }
}