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

Joerg Bornemann's avatar
Joerg Bornemann committed
3
import "../QtcPlugin.qbs" as QtcPlugin
4
import "../../../qbs/defaults.js" as Defaults
Joerg Bornemann's avatar
Joerg Bornemann committed
5 6 7 8

QtcPlugin {
    name: "ProjectExplorer"

9
    Depends { name: "Qt"; submodules: ["widgets", "xml", "network", "script", "declarative"] }
Joerg Bornemann's avatar
Joerg Bornemann committed
10
    Depends { name: "Core" }
Orgad Shaneh's avatar
Orgad Shaneh committed
11 12
    Depends { name: "Locator" }
    Depends { name: "Find" }
Joerg Bornemann's avatar
Joerg Bornemann committed
13
    Depends { name: "TextEditor" }
14
    Depends { name: "QtcSsh" }
Joerg Bornemann's avatar
Joerg Bornemann committed
15 16

    Depends { name: "cpp" }
17
    cpp.defines: base.concat("QTC_CPU=X86Architecture")
18
    cpp.includePaths: base.concat([
Joerg Bornemann's avatar
Joerg Bornemann committed
19
        "customwizard",
20 21
        "publishing"
    ])
Joerg Bornemann's avatar
Joerg Bornemann committed
22 23

    files: [
Orgad Shaneh's avatar
Orgad Shaneh committed
24
        "abi.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
25 26 27 28 29 30
        "abi.h",
        "abiwidget.cpp",
        "abiwidget.h",
        "abstractprocessstep.cpp",
        "abstractprocessstep.h",
        "allprojectsfilter.cpp",
Orgad Shaneh's avatar
Orgad Shaneh committed
31
        "allprojectsfilter.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
32 33
        "allprojectsfind.cpp",
        "allprojectsfind.h",
34 35
        "ansifilterparser.cpp",
        "ansifilterparser.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
36 37
        "applicationlauncher.cpp",
        "applicationlauncher.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
38
        "appoutputpane.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
39 40 41
        "appoutputpane.h",
        "baseprojectwizarddialog.cpp",
        "baseprojectwizarddialog.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
42
        "buildconfiguration.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
43 44 45 46 47
        "buildconfiguration.h",
        "buildconfigurationmodel.cpp",
        "buildconfigurationmodel.h",
        "buildenvironmentwidget.cpp",
        "buildenvironmentwidget.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
48
        "buildmanager.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
49
        "buildmanager.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
50
        "buildprogress.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
51
        "buildprogress.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
52
        "buildsettingspropertiespage.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
53 54
        "buildsettingspropertiespage.h",
        "buildstep.cpp",
Orgad Shaneh's avatar
Orgad Shaneh committed
55
        "buildstep.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
56 57
        "buildsteplist.cpp",
        "buildsteplist.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
58
        "buildstepspage.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
59
        "buildstepspage.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
60
        "buildtargetinfo.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
61 62
        "cesdkhandler.cpp",
        "cesdkhandler.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
63
        "clangparser.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
64
        "clangparser.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
65
        "codestylesettingspropertiespage.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
66 67 68 69
        "codestylesettingspropertiespage.h",
        "codestylesettingspropertiespage.ui",
        "compileoutputwindow.cpp",
        "compileoutputwindow.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
70
        "copytaskhandler.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
71 72 73 74
        "copytaskhandler.h",
        "corelistenercheckingforrunningbuild.cpp",
        "corelistenercheckingforrunningbuild.h",
        "currentprojectfilter.cpp",
Orgad Shaneh's avatar
Orgad Shaneh committed
75
        "currentprojectfilter.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
76 77
        "currentprojectfind.cpp",
        "currentprojectfind.h",
78 79
        "customtoolchain.cpp",
        "customtoolchain.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
80
        "dependenciespanel.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
81
        "dependenciespanel.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
82 83
        "deployablefile.cpp",
        "deployablefile.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
84 85 86 87
        "deployconfiguration.cpp",
        "deployconfiguration.h",
        "deployconfigurationmodel.cpp",
        "deployconfigurationmodel.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
88 89
        "deploymentdata.h",
        "doubletabwidget.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
90
        "doubletabwidget.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
91
        "doubletabwidget.ui",
Joerg Bornemann's avatar
Joerg Bornemann committed
92 93
        "editorconfiguration.cpp",
        "editorconfiguration.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
94
        "editorsettingspropertiespage.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
95 96 97
        "editorsettingspropertiespage.h",
        "editorsettingspropertiespage.ui",
        "environmentitemswidget.cpp",
Orgad Shaneh's avatar
Orgad Shaneh committed
98 99
        "environmentitemswidget.h",
        "environmentwidget.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
100 101 102
        "environmentwidget.h",
        "foldernavigationwidget.cpp",
        "foldernavigationwidget.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
103
        "gccparser.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
104
        "gccparser.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
105 106
        "gcctoolchain.cpp",
        "gcctoolchain.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
107
        "gcctoolchainfactories.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
108
        "gnumakeparser.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
109 110 111 112 113 114 115
        "gnumakeparser.h",
        "headerpath.h",
        "ioutputparser.cpp",
        "ioutputparser.h",
        "iprojectmanager.h",
        "iprojectproperties.h",
        "itaskhandler.h",
Tobias Hunger's avatar
Tobias Hunger committed
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
        "kit.cpp",
        "kit.h",
        "kitchooser.cpp",
        "kitchooser.h",
        "kitconfigwidget.h",
        "kitinformation.cpp",
        "kitinformation.h",
        "kitinformationconfigwidget.cpp",
        "kitinformationconfigwidget.h",
        "kitmanager.cpp",
        "kitmanager.h",
        "kitmanagerconfigwidget.cpp",
        "kitmanagerconfigwidget.h",
        "kitmodel.cpp",
        "kitmodel.h",
        "kitoptionspage.cpp",
        "kitoptionspage.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
133 134 135 136
        "ldparser.cpp",
        "ldparser.h",
        "linuxiccparser.cpp",
        "linuxiccparser.h",
137 138
        "localapplicationrunconfiguration.cpp",
        "localapplicationrunconfiguration.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
        "localapplicationruncontrol.cpp",
        "localapplicationruncontrol.h",
        "metatypedeclarations.h",
        "miniprojecttargetselector.cpp",
        "miniprojecttargetselector.h",
        "namedwidget.cpp",
        "namedwidget.h",
        "nodesvisitor.cpp",
        "nodesvisitor.h",
        "outputparser_test.cpp",
        "outputparser_test.h",
        "pluginfilefactory.cpp",
        "pluginfilefactory.h",
        "processparameters.cpp",
        "processparameters.h",
        "processstep.cpp",
        "processstep.h",
        "processstep.ui",
Joerg Bornemann's avatar
Joerg Bornemann committed
157 158 159 160
        "project.cpp",
        "project.h",
        "projectconfiguration.cpp",
        "projectconfiguration.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
161 162 163
        "projectexplorer.cpp",
        "projectexplorer.h",
        "projectexplorer.qrc",
Joerg Bornemann's avatar
Joerg Bornemann committed
164
        "projectexplorer_export.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
165 166 167
        "projectexplorerconstants.h",
        "projectexplorersettings.h",
        "projectexplorersettingspage.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
168
        "projectexplorersettingspage.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
169
        "projectexplorersettingspage.ui",
Joerg Bornemann's avatar
Joerg Bornemann committed
170 171
        "projectfilewizardextension.cpp",
        "projectfilewizardextension.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
172 173
        "projectmacroexpander.cpp",
        "projectmacroexpander.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
174 175 176 177
        "projectmodels.cpp",
        "projectmodels.h",
        "projectnodes.cpp",
        "projectnodes.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
178
        "projecttreewidget.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
179
        "projecttreewidget.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
180
        "projectwelcomepage.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
181 182 183
        "projectwelcomepage.h",
        "projectwindow.cpp",
        "projectwindow.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
184
        "projectwizardpage.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
185
        "projectwizardpage.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
186
        "projectwizardpage.ui",
187 188
        "removetaskhandler.cpp",
        "removetaskhandler.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
189 190
        "runconfiguration.cpp",
        "runconfiguration.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
191 192 193 194
        "runconfigurationmodel.cpp",
        "runconfigurationmodel.h",
        "runsettingspropertiespage.cpp",
        "runsettingspropertiespage.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
195
        "session.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
196
        "session.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
197
        "sessiondialog.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
198
        "sessiondialog.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
199 200
        "sessiondialog.ui",
        "settingsaccessor.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
201 202 203 204 205 206 207 208 209 210 211 212 213
        "settingsaccessor.h",
        "showineditortaskhandler.cpp",
        "showineditortaskhandler.h",
        "showoutputtaskhandler.cpp",
        "showoutputtaskhandler.h",
        "target.cpp",
        "target.h",
        "targetselector.cpp",
        "targetselector.h",
        "targetsettingspanel.cpp",
        "targetsettingspanel.h",
        "targetsettingswidget.cpp",
        "targetsettingswidget.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
214
        "targetsettingswidget.ui",
Joerg Bornemann's avatar
Joerg Bornemann committed
215 216 217 218
        "task.cpp",
        "task.h",
        "taskhub.cpp",
        "taskhub.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
219
        "taskmodel.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
220
        "taskmodel.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
221
        "taskwindow.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
222 223 224 225 226 227
        "taskwindow.h",
        "toolchain.cpp",
        "toolchain.h",
        "toolchainconfigwidget.cpp",
        "toolchainconfigwidget.h",
        "toolchainmanager.cpp",
Orgad Shaneh's avatar
Orgad Shaneh committed
228
        "toolchainmanager.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
229
        "toolchainoptionspage.cpp",
Orgad Shaneh's avatar
Orgad Shaneh committed
230
        "toolchainoptionspage.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
231
        "vcsannotatetaskhandler.cpp",
Orgad Shaneh's avatar
Orgad Shaneh committed
232 233
        "vcsannotatetaskhandler.h",
        "customwizard/customwizard.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
234 235 236
        "customwizard/customwizard.h",
        "customwizard/customwizardpage.cpp",
        "customwizard/customwizardpage.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
237
        "customwizard/customwizardparameters.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
238 239 240 241 242
        "customwizard/customwizardparameters.h",
        "customwizard/customwizardpreprocessor.cpp",
        "customwizard/customwizardpreprocessor.h",
        "customwizard/customwizardscriptgenerator.cpp",
        "customwizard/customwizardscriptgenerator.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275
        "devicesupport/desktopdevice.cpp",
        "devicesupport/desktopdevice.h",
        "devicesupport/desktopdevicefactory.cpp",
        "devicesupport/desktopdevicefactory.h",
        "devicesupport/deviceapplicationrunner.cpp",
        "devicesupport/deviceapplicationrunner.h",
        "devicesupport/devicefactoryselectiondialog.cpp",
        "devicesupport/devicefactoryselectiondialog.h",
        "devicesupport/devicefactoryselectiondialog.ui",
        "devicesupport/devicemanager.cpp",
        "devicesupport/devicemanager.h",
        "devicesupport/devicemanagermodel.cpp",
        "devicesupport/devicemanagermodel.h",
        "devicesupport/deviceprocessesdialog.cpp",
        "devicesupport/deviceprocessesdialog.h",
        "devicesupport/deviceprocesslist.cpp",
        "devicesupport/deviceprocesslist.h",
        "devicesupport/devicesettingspage.cpp",
        "devicesupport/devicesettingspage.h",
        "devicesupport/devicesettingswidget.cpp",
        "devicesupport/devicesettingswidget.h",
        "devicesupport/devicesettingswidget.ui",
        "devicesupport/deviceusedportsgatherer.cpp",
        "devicesupport/deviceusedportsgatherer.h",
        "devicesupport/idevice.cpp",
        "devicesupport/idevice.h",
        "devicesupport/idevicefactory.cpp",
        "devicesupport/idevicefactory.h",
        "devicesupport/idevicewidget.h",
        "devicesupport/localprocesslist.cpp",
        "devicesupport/localprocesslist.h",
        "devicesupport/sshdeviceprocesslist.cpp",
        "devicesupport/sshdeviceprocesslist.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
276 277
        "images/BuildSettings.png",
        "images/CodeStyleSettings.png",
Orgad Shaneh's avatar
Orgad Shaneh committed
278
        "images/Desktop.png",
279 280 281
        "images/DeviceConnected.png",
        "images/DeviceDisconnected.png",
        "images/DeviceReadyToUse.png",
Joerg Bornemann's avatar
Joerg Bornemann committed
282 283 284 285
        "images/EditorSettings.png",
        "images/MaemoDevice.png",
        "images/ProjectDependencies.png",
        "images/RunSettings.png",
286
        "images/Simulator.png",
Joerg Bornemann's avatar
Joerg Bornemann committed
287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310
        "images/build.png",
        "images/build_32.png",
        "images/build_small.png",
        "images/clean.png",
        "images/clean_small.png",
        "images/closetab.png",
        "images/compile_error.png",
        "images/compile_warning.png",
        "images/debugger_start.png",
        "images/debugger_start_small.png",
        "images/findallprojects.png",
        "images/findproject.png",
        "images/leftselection.png",
        "images/midselection.png",
        "images/projectexplorer.png",
        "images/rebuild.png",
        "images/rebuild_small.png",
        "images/rightselection.png",
        "images/run.png",
        "images/run_small.png",
        "images/session.png",
        "images/stop.png",
        "images/stop_small.png",
        "images/targetbuildselected.png",
Orgad Shaneh's avatar
Orgad Shaneh committed
311
        "images/targetleftbutton.png",
Joerg Bornemann's avatar
Joerg Bornemann committed
312 313 314
        "images/targetpanel_bottom.png",
        "images/targetpanel_gradient.png",
        "images/targetremovebutton.png",
315
        "images/targetremovebuttondark.png",
Orgad Shaneh's avatar
Orgad Shaneh committed
316
        "images/targetrightbutton.png",
Joerg Bornemann's avatar
Joerg Bornemann committed
317 318 319 320 321 322
        "images/targetrunselected.png",
        "images/targetseparatorbackground.png",
        "images/targetunselected.png",
        "images/window.png",
        "publishing/ipublishingwizardfactory.h",
        "publishing/publishingwizardselectiondialog.cpp",
323
        "publishing/publishingwizardselectiondialog.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
324
        "publishing/publishingwizardselectiondialog.ui",
Joerg Bornemann's avatar
Joerg Bornemann committed
325 326 327
    ]

    Group {
328
        condition: qbs.targetOS == "windows" || Defaults.testsEnabled(qbs)
Joerg Bornemann's avatar
Joerg Bornemann committed
329
        files: [
Orgad Shaneh's avatar
Orgad Shaneh committed
330 331
           "abstractmsvctoolchain.cpp",
           "abstractmsvctoolchain.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
332 333 334 335
           "msvcparser.cpp",
           "msvcparser.h",
           "msvctoolchain.cpp",
           "msvctoolchain.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
336 337 338 339
           "wincetoolchain.cpp",
           "wincetoolchain.h",
           "windebuginterface.cpp",
           "windebuginterface.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
340 341 342
        ]
    }

343 344 345 346 347
    Group {
        condition: Defaults.testsEnabled(qbs)
        files: ["outputparser_test.h", "outputparser_test.cpp"]
    }

348
    Export {
349
        Depends { name: "Qt.network" }
350 351
    }
}