add_qtc_plugin(Boot2Qt
  PLUGIN_CLASS QdbPlugin
  DEPENDS Qt::Network
  PLUGIN_DEPENDS Core Debugger ProjectExplorer QtSupport RemoteLinux
  SOURCES
    qdb.qrc
    qdb_global.h
    qdbconstants.h
    qdbdeployconfigurationfactory.cpp qdbdeployconfigurationfactory.h
    qdbdevice.cpp qdbdevice.h
    qdbdevicedebugsupport.cpp qdbdevicedebugsupport.h
    qdbmakedefaultappstep.cpp qdbmakedefaultappstep.h
    qdbplugin.cpp qdbplugin.h
    qdbqtversion.cpp qdbqtversion.h
    qdbrunconfiguration.cpp qdbrunconfiguration.h
    qdbstopapplicationstep.cpp qdbstopapplicationstep.h
    qdbtr.h
    qdbutils.cpp qdbutils.h
)

extend_qtc_plugin(Boot2Qt
  SOURCES_PREFIX device-detection
  SOURCES
    devicedetector.cpp devicedetector.h
    hostmessages.cpp hostmessages.h
    qdbdevicetracker.cpp qdbdevicetracker.h
    qdbmessagetracker.cpp qdbmessagetracker.h
    qdbwatcher.cpp qdbwatcher.h
)

