qtsupport.qbs 3.08 KB
Newer Older
Joerg Bornemann's avatar
Joerg Bornemann committed
1 2 3 4 5 6 7
import qbs.base 1.0

import "../QtcPlugin.qbs" as QtcPlugin

QtcPlugin {
    name: "QtSupport"

8
    Depends { name: "Qt"; submodules: ["widgets", "declarative"] }
Joerg Bornemann's avatar
Joerg Bornemann committed
9 10 11 12 13 14
    Depends { name: "Core" }
    Depends { name: "ProjectExplorer" }
    Depends { name: "TextEditor" }
    Depends { name: "QmlJS" }

    Depends { name: "cpp" }
15
    cpp.includePaths: base.concat([
Joerg Bornemann's avatar
Joerg Bornemann committed
16
        "../../shared",
17 18
        "../../shared/proparser"
    ])
Orgad Shaneh's avatar
Orgad Shaneh committed
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

    cpp.defines: base.concat([
        "QMAKE_AS_LIBRARY",
        "QMAKE_LIBRARY",
        "PROPARSER_THREAD_SAFE",
        "PROEVALUATOR_THREAD_SAFE",
        "PROEVALUATOR_CUMULATIVE",
        "QMAKE_BUILTIN_PRFS",
        "PROEVALUATOR_SETENV"
    ])

    Group {
        prefix: "../../shared/proparser/"
        files: [
            "ioutils.cpp",
            "ioutils.h",
            "profileevaluator.cpp",
            "profileevaluator.h",
            "proitems.cpp",
            "proitems.h",
            "proparser.qrc",
            "prowriter.cpp",
            "prowriter.h",
            "qmake_global.h",
            "qmakebuiltins.cpp",
            "qmakeevaluator.cpp",
            "qmakeevaluator.h",
            "qmakeevaluator_p.h",
            "qmakeglobals.cpp",
            "qmakeglobals.h",
            "qmakeparser.cpp",
            "qmakeparser.h",
        ]
Joerg Bornemann's avatar
Joerg Bornemann committed
52 53 54
    }

    files: [
Orgad Shaneh's avatar
Orgad Shaneh committed
55
        "baseqtversion.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
56
        "baseqtversion.h",
57 58
        "qtconfigwidget.cpp",
        "qtconfigwidget.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
59 60 61 62
        "customexecutableconfigurationwidget.cpp",
        "customexecutableconfigurationwidget.h",
        "customexecutablerunconfiguration.cpp",
        "customexecutablerunconfiguration.h",
63 64
        "debugginghelper.cpp",
        "debugginghelper.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
65
        "debugginghelper.ui",
Orgad Shaneh's avatar
Orgad Shaneh committed
66
        "debugginghelperbuildtask.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
67
        "debugginghelperbuildtask.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
68
        "exampleslistmodel.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
69
        "exampleslistmodel.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
70
        "gettingstartedwelcomepage.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
71 72 73
        "gettingstartedwelcomepage.h",
        "profilereader.cpp",
        "profilereader.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
74
        "qmldebugginglibrary.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
75
        "qmldebugginglibrary.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
76
        "qmldumptool.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
77
        "qmldumptool.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
78
        "qmlobservertool.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
79
        "qmlobservertool.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
80 81 82 83
        "qtkitconfigwidget.cpp",
        "qtkitconfigwidget.h",
        "qtkitinformation.cpp",
        "qtkitinformation.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
84 85 86 87 88 89
        "qtoptionspage.cpp",
        "qtoptionspage.h",
        "qtoutputformatter.cpp",
        "qtoutputformatter.h",
        "qtparser.cpp",
        "qtparser.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
90 91 92 93
        "qtsupport_global.h",
        "qtsupportconstants.h",
        "qtsupportplugin.cpp",
        "qtsupportplugin.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
94
        "qtversionfactory.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
95
        "qtversionfactory.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
96 97
        "qtversioninfo.ui",
        "qtversionmanager.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
98
        "qtversionmanager.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
99
        "qtversionmanager.ui",
Joerg Bornemann's avatar
Joerg Bornemann committed
100 101 102 103
        "screenshotcropper.cpp",
        "screenshotcropper.h",
        "showbuildlog.ui",
    ]
Daniel Teske's avatar
Daniel Teske committed
104 105 106

    ProductModule {
        Depends { name: "cpp" }
107
        cpp.includePaths: "../../shared"
Daniel Teske's avatar
Daniel Teske committed
108
        cpp.defines: [
Orgad Shaneh's avatar
Orgad Shaneh committed
109
            "QMAKE_AS_LIBRARY",
Daniel Teske's avatar
Daniel Teske committed
110
            "PROEVALUATOR_THREAD_SAFE",
Christian Kandeler's avatar
Christian Kandeler committed
111 112
            "QMAKE_BUILTIN_PRFS",
            "PROEVALUATOR_SETENV"
Daniel Teske's avatar
Daniel Teske committed
113 114
        ]
    }
Joerg Bornemann's avatar
Joerg Bornemann committed
115
}