qtsupport.qbs 3.02 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",
Orgad Shaneh's avatar
Orgad Shaneh committed
57 58 59 60
        "customexecutableconfigurationwidget.cpp",
        "customexecutableconfigurationwidget.h",
        "customexecutablerunconfiguration.cpp",
        "customexecutablerunconfiguration.h",
61 62
        "debugginghelper.cpp",
        "debugginghelper.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
63
        "debugginghelper.ui",
Orgad Shaneh's avatar
Orgad Shaneh committed
64
        "debugginghelperbuildtask.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
65
        "debugginghelperbuildtask.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
66
        "exampleslistmodel.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
67
        "exampleslistmodel.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
68
        "gettingstartedwelcomepage.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
69 70 71
        "gettingstartedwelcomepage.h",
        "profilereader.cpp",
        "profilereader.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
72
        "qmldebugginglibrary.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
73
        "qmldebugginglibrary.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
74
        "qmldumptool.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
75
        "qmldumptool.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
76
        "qmlobservertool.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
77
        "qmlobservertool.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
78 79 80 81
        "qtkitconfigwidget.cpp",
        "qtkitconfigwidget.h",
        "qtkitinformation.cpp",
        "qtkitinformation.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
82 83 84 85 86 87
        "qtoptionspage.cpp",
        "qtoptionspage.h",
        "qtoutputformatter.cpp",
        "qtoutputformatter.h",
        "qtparser.cpp",
        "qtparser.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
88 89 90 91
        "qtsupport_global.h",
        "qtsupportconstants.h",
        "qtsupportplugin.cpp",
        "qtsupportplugin.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
92
        "qtversionfactory.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
93
        "qtversionfactory.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
94 95
        "qtversioninfo.ui",
        "qtversionmanager.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
96
        "qtversionmanager.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
97
        "qtversionmanager.ui",
Joerg Bornemann's avatar
Joerg Bornemann committed
98 99 100 101
        "screenshotcropper.cpp",
        "screenshotcropper.h",
        "showbuildlog.ui",
    ]
Daniel Teske's avatar
Daniel Teske committed
102

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