diff options
author | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2016-06-08 17:10:04 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2016-06-13 08:36:26 +0000 |
commit | f085cb223612b549f7026bf8272ad437ae07931f (patch) | |
tree | 5757e799ccf0a052cb0fd593b08bf96d09654d51 /src/plugins/remotelinux/remotelinux.qbs | |
parent | 44771d245b225ff7567df63491af72b70a6c03bf (diff) |
qbs build: More steps toward creating a "development installation".
Namely:
- Install header files.
- Install imports and modules.
- Create modules from products and install them.
This is most of what we need. The main thing still left to do is
dealing with paths in Export items. These have to be translated
somehow. (Currently we only copy the Depends items out of the
Export items and ignore everything else.)
Change-Id: I12d49fa31d1c1e05bc77a0e0ce3ec9c78c27192a
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/plugins/remotelinux/remotelinux.qbs')
-rw-r--r-- | src/plugins/remotelinux/remotelinux.qbs | 227 |
1 files changed, 115 insertions, 112 deletions
diff --git a/src/plugins/remotelinux/remotelinux.qbs b/src/plugins/remotelinux/remotelinux.qbs index 5678b8890b7..5727355ea0d 100644 --- a/src/plugins/remotelinux/remotelinux.qbs +++ b/src/plugins/remotelinux/remotelinux.qbs @@ -1,121 +1,124 @@ import qbs 1.0 -QtcPlugin { +Project { name: "RemoteLinux" - Depends { name: "Qt.widgets" } - Depends { name: "QtcSsh" } - Depends { name: "QmlDebug" } - Depends { name: "Utils" } + QtcDevHeaders { } - Depends { name: "Core" } - Depends { name: "Debugger" } - Depends { name: "ProjectExplorer" } - Depends { name: "QtSupport" } - - files: [ - "abstractpackagingstep.cpp", - "abstractpackagingstep.h", - "abstractremotelinuxdeployservice.cpp", - "abstractremotelinuxdeployservice.h", - "abstractremotelinuxdeploystep.cpp", - "abstractremotelinuxdeploystep.h", - "abstractremotelinuxrunsupport.cpp", - "abstractremotelinuxrunsupport.h", - "abstractuploadandinstallpackageservice.cpp", - "abstractuploadandinstallpackageservice.h", - "embeddedlinuxqtversion.cpp", - "embeddedlinuxqtversion.h", - "embeddedlinuxqtversionfactory.cpp", - "embeddedlinuxqtversionfactory.h", - "genericdirectuploadservice.cpp", - "genericdirectuploadservice.h", - "genericdirectuploadstep.cpp", - "genericdirectuploadstep.h", - "genericlinuxdeviceconfigurationfactory.cpp", - "genericlinuxdeviceconfigurationfactory.h", - "genericlinuxdeviceconfigurationwidget.cpp", - "genericlinuxdeviceconfigurationwidget.h", - "genericlinuxdeviceconfigurationwidget.ui", - "genericlinuxdeviceconfigurationwizard.cpp", - "genericlinuxdeviceconfigurationwizard.h", - "genericlinuxdeviceconfigurationwizardpages.cpp", - "genericlinuxdeviceconfigurationwizardpages.h", - "genericlinuxdeviceconfigurationwizardsetuppage.ui", - "genericremotelinuxdeploystepfactory.cpp", - "genericremotelinuxdeploystepfactory.h", - "linuxdevice.cpp", - "linuxdevice.h", - "linuxdeviceprocess.cpp", - "linuxdeviceprocess.h", - "linuxdevicetester.cpp", - "linuxdevicetester.h", - "packageuploader.cpp", - "packageuploader.h", - "publickeydeploymentdialog.cpp", - "publickeydeploymentdialog.h", - "remotelinux.qrc", - "remotelinux_constants.h", - "remotelinux_export.h", - "remotelinuxanalyzesupport.cpp", - "remotelinuxanalyzesupport.h", - "remotelinuxcheckforfreediskspaceservice.cpp", - "remotelinuxcheckforfreediskspaceservice.h", - "remotelinuxcheckforfreediskspacestep.cpp", - "remotelinuxcheckforfreediskspacestep.h", - "remotelinuxcheckforfreediskspacestepwidget.ui", - "remotelinuxcustomcommanddeploymentstep.cpp", - "remotelinuxcustomcommanddeploymentstep.h", - "remotelinuxcustomcommanddeployservice.cpp", - "remotelinuxcustomcommanddeployservice.h", - "remotelinuxcustomrunconfiguration.cpp", - "remotelinuxcustomrunconfiguration.h", - "remotelinuxcustomrunconfigurationwidget.ui", - "remotelinuxdebugsupport.cpp", - "remotelinuxdebugsupport.h", - "remotelinuxdeployconfiguration.cpp", - "remotelinuxdeployconfiguration.h", - "remotelinuxdeployconfigurationfactory.cpp", - "remotelinuxdeployconfigurationfactory.h", - "remotelinuxenvironmentaspect.cpp", - "remotelinuxenvironmentaspect.h", - "remotelinuxenvironmentaspectwidget.cpp", - "remotelinuxenvironmentaspectwidget.h", - "remotelinuxenvironmentreader.cpp", - "remotelinuxenvironmentreader.h", - "remotelinuxpackageinstaller.cpp", - "remotelinuxpackageinstaller.h", - "remotelinuxplugin.cpp", - "remotelinuxplugin.h", - "remotelinuxrunconfiguration.cpp", - "remotelinuxrunconfiguration.h", - "remotelinuxrunconfigurationfactory.cpp", - "remotelinuxrunconfigurationfactory.h", - "remotelinuxrunconfigurationwidget.cpp", - "remotelinuxrunconfigurationwidget.h", - "remotelinuxruncontrol.cpp", - "remotelinuxruncontrol.h", - "remotelinuxruncontrolfactory.cpp", - "remotelinuxruncontrolfactory.h", - "remotelinuxsignaloperation.cpp", - "remotelinuxsignaloperation.h", - "remotelinuxutils.cpp", - "remotelinuxutils.h", - "sshkeydeployer.cpp", - "sshkeydeployer.h", - "tarpackagecreationstep.cpp", - "tarpackagecreationstep.h", - "typespecificdeviceconfigurationlistmodel.cpp", - "typespecificdeviceconfigurationlistmodel.h", - "uploadandinstalltarpackagestep.cpp", - "uploadandinstalltarpackagestep.h", - "images/embeddedtarget.png" - ] + QtcPlugin { + Depends { name: "Qt.widgets" } + Depends { name: "QtcSsh" } + Depends { name: "QmlDebug" } + Depends { name: "Utils" } - Export { - Depends { name: "Debugger" } Depends { name: "Core" } - Depends { name: "QtcSsh" } + Depends { name: "Debugger" } + Depends { name: "ProjectExplorer" } + Depends { name: "QtSupport" } + + files: [ + "abstractpackagingstep.cpp", + "abstractpackagingstep.h", + "abstractremotelinuxdeployservice.cpp", + "abstractremotelinuxdeployservice.h", + "abstractremotelinuxdeploystep.cpp", + "abstractremotelinuxdeploystep.h", + "abstractremotelinuxrunsupport.cpp", + "abstractremotelinuxrunsupport.h", + "abstractuploadandinstallpackageservice.cpp", + "abstractuploadandinstallpackageservice.h", + "embeddedlinuxqtversion.cpp", + "embeddedlinuxqtversion.h", + "embeddedlinuxqtversionfactory.cpp", + "embeddedlinuxqtversionfactory.h", + "genericdirectuploadservice.cpp", + "genericdirectuploadservice.h", + "genericdirectuploadstep.cpp", + "genericdirectuploadstep.h", + "genericlinuxdeviceconfigurationfactory.cpp", + "genericlinuxdeviceconfigurationfactory.h", + "genericlinuxdeviceconfigurationwidget.cpp", + "genericlinuxdeviceconfigurationwidget.h", + "genericlinuxdeviceconfigurationwidget.ui", + "genericlinuxdeviceconfigurationwizard.cpp", + "genericlinuxdeviceconfigurationwizard.h", + "genericlinuxdeviceconfigurationwizardpages.cpp", + "genericlinuxdeviceconfigurationwizardpages.h", + "genericlinuxdeviceconfigurationwizardsetuppage.ui", + "genericremotelinuxdeploystepfactory.cpp", + "genericremotelinuxdeploystepfactory.h", + "linuxdevice.cpp", + "linuxdevice.h", + "linuxdeviceprocess.cpp", + "linuxdeviceprocess.h", + "linuxdevicetester.cpp", + "linuxdevicetester.h", + "packageuploader.cpp", + "packageuploader.h", + "publickeydeploymentdialog.cpp", + "publickeydeploymentdialog.h", + "remotelinux.qrc", + "remotelinux_constants.h", + "remotelinux_export.h", + "remotelinuxanalyzesupport.cpp", + "remotelinuxanalyzesupport.h", + "remotelinuxcheckforfreediskspaceservice.cpp", + "remotelinuxcheckforfreediskspaceservice.h", + "remotelinuxcheckforfreediskspacestep.cpp", + "remotelinuxcheckforfreediskspacestep.h", + "remotelinuxcheckforfreediskspacestepwidget.ui", + "remotelinuxcustomcommanddeploymentstep.cpp", + "remotelinuxcustomcommanddeploymentstep.h", + "remotelinuxcustomcommanddeployservice.cpp", + "remotelinuxcustomcommanddeployservice.h", + "remotelinuxcustomrunconfiguration.cpp", + "remotelinuxcustomrunconfiguration.h", + "remotelinuxcustomrunconfigurationwidget.ui", + "remotelinuxdebugsupport.cpp", + "remotelinuxdebugsupport.h", + "remotelinuxdeployconfiguration.cpp", + "remotelinuxdeployconfiguration.h", + "remotelinuxdeployconfigurationfactory.cpp", + "remotelinuxdeployconfigurationfactory.h", + "remotelinuxenvironmentaspect.cpp", + "remotelinuxenvironmentaspect.h", + "remotelinuxenvironmentaspectwidget.cpp", + "remotelinuxenvironmentaspectwidget.h", + "remotelinuxenvironmentreader.cpp", + "remotelinuxenvironmentreader.h", + "remotelinuxpackageinstaller.cpp", + "remotelinuxpackageinstaller.h", + "remotelinuxplugin.cpp", + "remotelinuxplugin.h", + "remotelinuxrunconfiguration.cpp", + "remotelinuxrunconfiguration.h", + "remotelinuxrunconfigurationfactory.cpp", + "remotelinuxrunconfigurationfactory.h", + "remotelinuxrunconfigurationwidget.cpp", + "remotelinuxrunconfigurationwidget.h", + "remotelinuxruncontrol.cpp", + "remotelinuxruncontrol.h", + "remotelinuxruncontrolfactory.cpp", + "remotelinuxruncontrolfactory.h", + "remotelinuxsignaloperation.cpp", + "remotelinuxsignaloperation.h", + "remotelinuxutils.cpp", + "remotelinuxutils.h", + "sshkeydeployer.cpp", + "sshkeydeployer.h", + "tarpackagecreationstep.cpp", + "tarpackagecreationstep.h", + "typespecificdeviceconfigurationlistmodel.cpp", + "typespecificdeviceconfigurationlistmodel.h", + "uploadandinstalltarpackagestep.cpp", + "uploadandinstalltarpackagestep.h", + "images/embeddedtarget.png" + ] + + Export { + Depends { name: "Debugger" } + Depends { name: "Core" } + Depends { name: "QtcSsh" } + } } } - |