qmljstools.qbs 2.24 KB
Newer Older
1
import qbs 1.0
Joerg Bornemann's avatar
Joerg Bornemann committed
2

3
import QtcPlugin
Joerg Bornemann's avatar
Joerg Bornemann committed
4 5 6 7

QtcPlugin {
    name: "QmlJSTools"

Joerg Bornemann's avatar
Joerg Bornemann committed
8
    Depends { name: "Qt"; submodules: ["script", "widgets"] }
9 10
    Depends { name: "Aggregation" }
    Depends { name: "CPlusPlus" }
Joerg Bornemann's avatar
Joerg Bornemann committed
11 12
    Depends { name: "LanguageUtils" }
    Depends { name: "QmlJS" }
13 14 15 16
    Depends { name: "Utils" }

    Depends { name: "Core" }
    Depends { name: "CppTools" }
Joerg Bornemann's avatar
Joerg Bornemann committed
17 18 19 20 21
    Depends { name: "ProjectExplorer" }
    Depends { name: "TextEditor" }
    Depends { name: "QtSupport" }

    files: [
22
        "QmlJSTools.mimetypes.xml",
23 24
        "qmljsbundleprovider.cpp",
        "qmljsbundleprovider.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
25 26
        "qmljscodestylepreferencesfactory.cpp",
        "qmljscodestylepreferencesfactory.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
27 28 29 30 31 32 33 34 35 36
        "qmljscodestylesettingspage.cpp",
        "qmljscodestylesettingspage.h",
        "qmljscodestylesettingspage.ui",
        "qmljsfunctionfilter.cpp",
        "qmljsfunctionfilter.h",
        "qmljsindenter.cpp",
        "qmljsindenter.h",
        "qmljslocatordata.cpp",
        "qmljslocatordata.h",
        "qmljsmodelmanager.cpp",
Orgad Shaneh's avatar
Orgad Shaneh committed
37 38
        "qmljsmodelmanager.cpp",
        "qmljsmodelmanager.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
39 40 41 42 43
        "qmljsmodelmanager.h",
        "qmljsqtstylecodeformatter.cpp",
        "qmljsqtstylecodeformatter.h",
        "qmljsrefactoringchanges.cpp",
        "qmljsrefactoringchanges.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
44 45
        "qmljssemanticinfo.cpp",
        "qmljssemanticinfo.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
46 47 48 49 50 51
        "qmljstools_global.h",
        "qmljstoolsconstants.h",
        "qmljstoolsplugin.cpp",
        "qmljstoolsplugin.h",
        "qmljstoolssettings.cpp",
        "qmljstoolssettings.h",
52 53
        "qmlconsolemanager.cpp",
        "qmlconsolemanager.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
54
        "qmlconsoleitemmodel.cpp",
55 56 57 58 59 60 61 62 63
        "qmlconsoleitemmodel.h",
        "qmlconsolepane.cpp",
        "qmlconsolepane.h",
        "qmlconsoleview.cpp",
        "qmlconsoleview.h",
        "qmlconsoleitemdelegate.cpp",
        "qmlconsoleitemdelegate.h",
        "qmlconsoleedit.cpp",
        "qmlconsoleedit.h",
Nikolai Kosjar's avatar
Nikolai Kosjar committed
64 65
        "qmlconsoleproxymodel.cpp",
        "qmlconsoleproxymodel.h",
66 67 68
        "qmljsinterpreter.cpp",
        "qmljsinterpreter.h",
        "qmljstools.qrc"
Joerg Bornemann's avatar
Joerg Bornemann committed
69 70
    ]

71
    Group {
72
        name: "Tests"
73
        condition: project.testsEnabled
74 75 76
        files: ["qmljstools_test.cpp"]
    }

77
    Export {
Marco Bubke's avatar
Marco Bubke committed
78
        Depends { name: "CppTools" }
79
        Depends { name: "QmlDebug" }
Joerg Bornemann's avatar
Joerg Bornemann committed
80 81
    }
}