projectexplorer.qbs 11.9 KB
Newer Older
Joerg Bornemann's avatar
Joerg Bornemann committed
1
import qbs.base 1.0
2

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

QtcPlugin {
    name: "ProjectExplorer"

Orgad Shaneh's avatar
Orgad Shaneh committed
9
    Depends { name: "Qt"; submodules: ["widgets", "xml", "network", "script"] }
10
    Depends { name: "Qt.quick"; condition: QtcFunctions.versionIsAtLeast(Qt.core.version, "5.1"); }
11 12 13 14
    Depends { name: "Aggregation" }
    Depends { name: "QtcSsh" }
    Depends { name: "Utils" }

Joerg Bornemann's avatar
Joerg Bornemann committed
15 16 17
    Depends { name: "Core" }
    Depends { name: "TextEditor" }

18
    cpp.defines: base.concat("QTC_CPU=X86Architecture")
Christian Kandeler's avatar
Christian Kandeler committed
19 20 21 22
    Properties {
        condition: qbs.targetOS.contains("osx")
        cpp.frameworks: base.concat(["Carbon"])
    }
Joerg Bornemann's avatar
Joerg Bornemann committed
23

24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
    Group {
        name: "General"
        files: [
            "abi.cpp", "abi.h",
            "abiwidget.cpp", "abiwidget.h",
            "abstractprocessstep.cpp", "abstractprocessstep.h",
            "allprojectsfilter.cpp", "allprojectsfilter.h",
            "allprojectsfind.cpp", "allprojectsfind.h",
            "ansifilterparser.cpp", "ansifilterparser.h",
            "applicationlauncher.cpp", "applicationlauncher.h",
            "appoutputpane.cpp", "appoutputpane.h",
            "baseprojectwizarddialog.cpp", "baseprojectwizarddialog.h",
            "buildconfiguration.cpp", "buildconfiguration.h",
            "buildconfigurationmodel.cpp", "buildconfigurationmodel.h",
            "buildenvironmentwidget.cpp", "buildenvironmentwidget.h",
39
            "buildinfo.h",
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
            "buildmanager.cpp", "buildmanager.h",
            "buildprogress.cpp", "buildprogress.h",
            "buildsettingspropertiespage.cpp", "buildsettingspropertiespage.h",
            "buildstep.cpp", "buildstep.h",
            "buildsteplist.cpp", "buildsteplist.h",
            "buildstepspage.cpp", "buildstepspage.h",
            "buildtargetinfo.h",
            "cesdkhandler.cpp", "cesdkhandler.h",
            "clangparser.cpp", "clangparser.h",
            "codestylesettingspropertiespage.cpp", "codestylesettingspropertiespage.h", "codestylesettingspropertiespage.ui",
            "compileoutputwindow.cpp", "compileoutputwindow.h",
            "copytaskhandler.cpp", "copytaskhandler.h",
            "corelistenercheckingforrunningbuild.cpp", "corelistenercheckingforrunningbuild.h",
            "currentprojectfilter.cpp", "currentprojectfilter.h",
            "currentprojectfind.cpp", "currentprojectfind.h",
            "customparser.cpp", "customparser.h",
            "customparserconfigdialog.cpp", "customparserconfigdialog.h", "customparserconfigdialog.ui",
            "customtoolchain.cpp", "customtoolchain.h",
            "dependenciespanel.cpp", "dependenciespanel.h",
            "deployablefile.cpp", "deployablefile.h",
            "deployconfiguration.cpp", "deployconfiguration.h",
            "deployconfigurationmodel.cpp", "deployconfigurationmodel.h",
            "deploymentdata.h",
            "doubletabwidget.cpp", "doubletabwidget.h", "doubletabwidget.ui",
            "editorconfiguration.cpp", "editorconfiguration.h",
            "editorsettingspropertiespage.cpp", "editorsettingspropertiespage.h", "editorsettingspropertiespage.ui",
            "environmentaspect.cpp", "environmentaspect.h",
            "environmentaspectwidget.cpp", "environmentaspectwidget.h",
            "environmentitemswidget.cpp", "environmentitemswidget.h",
            "environmentwidget.cpp", "environmentwidget.h",
            "foldernavigationwidget.cpp", "foldernavigationwidget.h",
            "gccparser.cpp", "gccparser.h",
            "gcctoolchain.cpp", "gcctoolchain.h",
            "gcctoolchainfactories.h",
            "gnumakeparser.cpp", "gnumakeparser.h",
            "headerpath.h",
76
            "importwidget.cpp", "importwidget.h",
77
            "ioutputparser.cpp", "ioutputparser.h",
Christian Kandeler's avatar
Christian Kandeler committed
78 79
            "ipotentialkit.cpp",
            "ipotentialkit.h",
80 81 82 83 84
            "iprojectmanager.h",
            "iprojectproperties.h",
            "itaskhandler.h",
            "kit.cpp", "kit.h",
            "kitchooser.cpp", "kitchooser.h",
85
            "kitconfigwidget.cpp", "kitconfigwidget.h",
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
            "kitinformation.cpp", "kitinformation.h",
            "kitinformationconfigwidget.cpp", "kitinformationconfigwidget.h",
            "kitmanager.cpp", "kitmanager.h",
            "kitmanagerconfigwidget.cpp", "kitmanagerconfigwidget.h",
            "kitmodel.cpp", "kitmodel.h",
            "kitoptionspage.cpp", "kitoptionspage.h",
            "ldparser.cpp", "ldparser.h",
            "linuxiccparser.cpp", "linuxiccparser.h",
            "localapplicationrunconfiguration.cpp", "localapplicationrunconfiguration.h",
            "localapplicationruncontrol.cpp", "localapplicationruncontrol.h",
            "localenvironmentaspect.cpp", "localenvironmentaspect.h",
            "metatypedeclarations.h",
            "miniprojecttargetselector.cpp", "miniprojecttargetselector.h",
            "namedwidget.cpp", "namedwidget.h",
            "nodesvisitor.cpp", "nodesvisitor.h",
101
            "osparser.cpp", "osparser.h",
102 103 104 105 106 107 108 109 110 111 112 113
            "pluginfilefactory.cpp", "pluginfilefactory.h",
            "processparameters.cpp", "processparameters.h",
            "processstep.cpp", "processstep.h", "processstep.ui",
            "project.cpp", "project.h",
            "projectconfiguration.cpp", "projectconfiguration.h",
            "projectexplorer.cpp", "projectexplorer.h",
            "projectexplorer.qrc",
            "projectexplorer_export.h",
            "projectexplorerconstants.h",
            "projectexplorersettings.h",
            "projectexplorersettingspage.cpp", "projectexplorersettingspage.h", "projectexplorersettingspage.ui",
            "projectfilewizardextension.cpp", "projectfilewizardextension.h",
114
            "projectimporter.cpp", "projectimporter.h",
115 116 117 118 119 120 121 122 123 124
            "projectmacroexpander.cpp", "projectmacroexpander.h",
            "projectmodels.cpp", "projectmodels.h",
            "projectnodes.cpp", "projectnodes.h",
            "projecttreewidget.cpp", "projecttreewidget.h",
            "projectwindow.cpp", "projectwindow.h",
            "projectwizardpage.cpp", "projectwizardpage.h", "projectwizardpage.ui",
            "removetaskhandler.cpp", "removetaskhandler.h",
            "runconfiguration.cpp", "runconfiguration.h",
            "runconfigurationmodel.cpp", "runconfigurationmodel.h",
            "runsettingspropertiespage.cpp", "runsettingspropertiespage.h",
Christian Kandeler's avatar
Christian Kandeler committed
125
            "selectablefilesmodel.cpp", "selectablefilesmodel.h",
126 127 128 129 130 131 132 133
            "session.cpp", "session.h",
            "sessiondialog.cpp", "sessiondialog.h", "sessiondialog.ui",
            "settingsaccessor.cpp", "settingsaccessor.h",
            "showineditortaskhandler.cpp", "showineditortaskhandler.h",
            "showoutputtaskhandler.cpp", "showoutputtaskhandler.h",
            "target.cpp", "target.h",
            "targetselector.cpp", "targetselector.h",
            "targetsettingspanel.cpp", "targetsettingspanel.h",
134 135 136
            "targetsettingswidget.cpp", "targetsettingswidget.h", "targetsettingswidget.ui",
            "targetsetuppage.cpp", "targetsetuppage.h",
            "targetsetupwidget.cpp", "targetsetupwidget.h",
137 138 139 140 141 142 143 144
            "task.cpp", "task.h",
            "taskhub.cpp", "taskhub.h",
            "taskmodel.cpp", "taskmodel.h",
            "taskwindow.cpp", "taskwindow.h",
            "toolchain.cpp", "toolchain.h",
            "toolchainconfigwidget.cpp", "toolchainconfigwidget.h",
            "toolchainmanager.cpp", "toolchainmanager.h",
            "toolchainoptionspage.cpp", "toolchainoptionspage.h",
145
            "unconfiguredprojectpanel.cpp", "unconfiguredprojectpanel.h",
146
            "vcsannotatetaskhandler.cpp", "vcsannotatetaskhandler.h"
147
        ]
Christian Kandeler's avatar
Christian Kandeler committed
148
    }
149

Christian Kandeler's avatar
Christian Kandeler committed
150 151
    Group {
        name: "Project Welcome Page"
152
        condition: QtcFunctions.versionIsAtLeast(Qt.core.version, "5.1")
Christian Kandeler's avatar
Christian Kandeler committed
153 154 155 156
        files: [
            "projectwelcomepage.cpp",
            "projectwelcomepage.h"
        ]
157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195
    }

    Group {
        name: "CustomWizard"
        prefix: "customwizard/"
        files: [
            "customwizard.cpp", "customwizard.h",
            "customwizardpage.cpp", "customwizardpage.h",
            "customwizardparameters.cpp", "customwizardparameters.h",
            "customwizardpreprocessor.cpp", "customwizardpreprocessor.h",
            "customwizardscriptgenerator.cpp", "customwizardscriptgenerator.h"
        ]
    }

    Group {
        name: "Device Support"
        prefix: "devicesupport/"
        files: [
            "desktopdevice.cpp", "desktopdevice.h",
            "desktopdevicefactory.cpp", "desktopdevicefactory.h",
            "deviceapplicationrunner.cpp", "deviceapplicationrunner.h",
            "devicecheckbuildstep.cpp", "devicecheckbuildstep.h",
            "devicefactoryselectiondialog.cpp", "devicefactoryselectiondialog.h", "devicefactoryselectiondialog.ui",
            "devicemanager.cpp", "devicemanager.h",
            "devicemanagermodel.cpp", "devicemanagermodel.h",
            "deviceprocess.cpp", "deviceprocess.h",
            "deviceprocessesdialog.cpp", "deviceprocessesdialog.h",
            "deviceprocesslist.cpp", "deviceprocesslist.h",
            "devicesettingspage.cpp", "devicesettingspage.h",
            "devicesettingswidget.cpp", "devicesettingswidget.h", "devicesettingswidget.ui",
            "devicetestdialog.cpp", "devicetestdialog.h", "devicetestdialog.ui",
            "deviceusedportsgatherer.cpp", "deviceusedportsgatherer.h",
            "idevice.cpp", "idevice.h",
            "idevicefactory.cpp", "idevicefactory.h",
            "idevicewidget.h",
            "desktopdeviceprocess.cpp", "desktopdeviceprocess.h",
            "localprocesslist.cpp", "localprocesslist.h",
            "sshdeviceprocess.cpp", "sshdeviceprocess.h",
            "sshdeviceprocesslist.cpp", "sshdeviceprocesslist.h",
196
            "desktopprocesssignaloperation.cpp", "desktopprocesssignaloperation.h",
197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250
            "desktopdeviceconfigurationwidget.cpp", "desktopdeviceconfigurationwidget.h", "desktopdeviceconfigurationwidget.ui"
        ]
    }

    Group {
        name: "Images"
        prefix: "images/"
        files: [
            "BuildSettings.png",
            "CodeStyleSettings.png",
            "Desktop.png",
            "DeviceConnected.png",
            "DeviceDisconnected.png",
            "DeviceReadyToUse.png",
            "EditorSettings.png",
            "MaemoDevice.png",
            "ProjectDependencies.png",
            "RunSettings.png",
            "Simulator.png",
            "build.png",
            "build_32.png",
            "build_small.png",
            "clean.png",
            "clean_small.png",
            "closetab.png",
            "compile_error.png",
            "compile_warning.png",
            "debugger_start.png",
            "debugger_start_small.png",
            "findallprojects.png",
            "findproject.png",
            "leftselection.png",
            "midselection.png",
            "projectexplorer.png",
            "rebuild.png",
            "rebuild_small.png",
            "rightselection.png",
            "run.png",
            "run_small.png",
            "session.png",
            "stop.png",
            "stop_small.png",
            "targetbuildselected.png",
            "targetleftbutton.png",
            "targetpanel_bottom.png",
            "targetpanel_gradient.png",
            "targetrightbutton.png",
            "targetrunselected.png",
            "targetseparatorbackground.png",
            "targetunselected.png",
            "window.png",
        ]
    }

Joerg Bornemann's avatar
Joerg Bornemann committed
251
    Group {
252
        name: "WindowsToolChains"
253
        condition: qbs.targetOS.contains("windows") || project.testsEnabled
Joerg Bornemann's avatar
Joerg Bornemann committed
254
        files: [
Orgad Shaneh's avatar
Orgad Shaneh committed
255 256
           "abstractmsvctoolchain.cpp",
           "abstractmsvctoolchain.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
257 258 259 260
           "msvcparser.cpp",
           "msvcparser.h",
           "msvctoolchain.cpp",
           "msvctoolchain.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
261 262 263 264
           "wincetoolchain.cpp",
           "wincetoolchain.h",
           "windebuginterface.cpp",
           "windebuginterface.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
265 266 267
        ]
    }

268
    Group {
269
        name: "Tests"
270
        condition: project.testsEnabled
271 272 273
        files: ["outputparser_test.h", "outputparser_test.cpp"]
    }

274
    Export {
275
        Depends { name: "Qt.network" }
276 277
    }
}