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"); }
Joerg Bornemann's avatar
Joerg Bornemann committed
11
    Depends { name: "Core" }
Orgad Shaneh's avatar
Orgad Shaneh committed
12 13
    Depends { name: "Locator" }
    Depends { name: "Find" }
Joerg Bornemann's avatar
Joerg Bornemann committed
14
    Depends { name: "TextEditor" }
15
    Depends { name: "QtcSsh" }
Joerg Bornemann's avatar
Joerg Bornemann committed
16

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

23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
    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",
38
            "buildinfo.h",
39 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
            "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",
75
            "importwidget.cpp", "importwidget.h",
76
            "ioutputparser.cpp", "ioutputparser.h",
Christian Kandeler's avatar
Christian Kandeler committed
77 78
            "ipotentialkit.cpp",
            "ipotentialkit.h",
79 80 81 82 83
            "iprojectmanager.h",
            "iprojectproperties.h",
            "itaskhandler.h",
            "kit.cpp", "kit.h",
            "kitchooser.cpp", "kitchooser.h",
84
            "kitconfigwidget.cpp", "kitconfigwidget.h",
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
            "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",
100
            "osparser.cpp", "osparser.h",
101 102 103 104 105 106 107 108 109 110 111 112
            "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",
113
            "projectimporter.cpp", "projectimporter.h",
114 115 116 117 118 119 120 121 122 123
            "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
124
            "selectablefilesmodel.cpp", "selectablefilesmodel.h",
125 126 127 128 129 130 131 132
            "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",
133 134 135
            "targetsettingswidget.cpp", "targetsettingswidget.h", "targetsettingswidget.ui",
            "targetsetuppage.cpp", "targetsetuppage.h",
            "targetsetupwidget.cpp", "targetsetupwidget.h",
136 137 138 139 140 141 142 143
            "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",
144
            "unconfiguredprojectpanel.cpp", "unconfiguredprojectpanel.h",
145
            "vcsannotatetaskhandler.cpp", "vcsannotatetaskhandler.h"
146
        ]
Christian Kandeler's avatar
Christian Kandeler committed
147
    }
148

Christian Kandeler's avatar
Christian Kandeler committed
149 150
    Group {
        name: "Project Welcome Page"
151
        condition: QtcFunctions.versionIsAtLeast(Qt.core.version, "5.1")
Christian Kandeler's avatar
Christian Kandeler committed
152 153 154 155
        files: [
            "projectwelcomepage.cpp",
            "projectwelcomepage.h"
        ]
156 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
    }

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

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

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