2019-08-14 11:48:13 +02:00
|
|
|
import qbs 1.0
|
|
|
|
|
|
|
|
|
|
QtcPlugin {
|
|
|
|
|
name: "McuSupport"
|
|
|
|
|
|
|
|
|
|
Depends { name: "Qt.core" }
|
|
|
|
|
Depends { name: "Qt.widgets" }
|
2022-02-21 11:12:29 +01:00
|
|
|
Depends { name: "Qt.testlib"; condition: qtc.testsEnabled }
|
2019-08-14 11:48:13 +02:00
|
|
|
Depends { name: "Utils" }
|
2022-10-24 07:38:18 +02:00
|
|
|
Depends { name: "app_version_header" }
|
2019-08-14 11:48:13 +02:00
|
|
|
|
|
|
|
|
Depends { name: "Core" }
|
2020-11-20 18:01:40 +01:00
|
|
|
Depends { name: "BareMetal" }
|
2019-08-14 11:48:13 +02:00
|
|
|
Depends { name: "ProjectExplorer" }
|
2019-10-18 12:04:43 +02:00
|
|
|
Depends { name: "Debugger" }
|
2019-08-14 11:48:13 +02:00
|
|
|
Depends { name: "CMakeProjectManager" }
|
2020-04-02 19:31:52 +02:00
|
|
|
Depends { name: "QtSupport" }
|
2019-08-14 11:48:13 +02:00
|
|
|
|
2022-02-21 11:12:29 +01:00
|
|
|
Depends { name: "qtc_gtest_gmock"; condition: qtc.testsEnabled; required: false }
|
|
|
|
|
|
2019-08-14 11:48:13 +02:00
|
|
|
files: [
|
2022-02-11 13:51:42 +01:00
|
|
|
"mcuabstractpackage.h",
|
2022-02-01 14:30:35 +01:00
|
|
|
"mcupackage.cpp",
|
|
|
|
|
"mcupackage.h",
|
2022-02-16 16:48:28 +01:00
|
|
|
"mcutarget.cpp",
|
|
|
|
|
"mcutarget.h",
|
2022-03-01 21:27:49 +01:00
|
|
|
"mcutargetfactory.cpp",
|
|
|
|
|
"mcutargetfactory.h",
|
2022-03-09 17:29:07 +01:00
|
|
|
"mcutargetfactorylegacy.cpp",
|
|
|
|
|
"mcutargetfactorylegacy.h",
|
2019-08-14 11:48:13 +02:00
|
|
|
"mcusupport.qrc",
|
2022-06-22 10:12:01 +02:00
|
|
|
"mcusupport_global.h", "mcusupporttr.h",
|
2019-08-14 11:48:13 +02:00
|
|
|
"mcusupportconstants.h",
|
|
|
|
|
"mcusupportdevice.cpp",
|
|
|
|
|
"mcusupportdevice.h",
|
2019-10-22 14:33:31 +02:00
|
|
|
"mcusupportoptions.cpp",
|
|
|
|
|
"mcusupportoptions.h",
|
2022-02-16 16:48:28 +01:00
|
|
|
"mcukitmanager.cpp",
|
|
|
|
|
"mcukitmanager.h",
|
2023-01-19 10:17:21 +02:00
|
|
|
"mcuqmlprojectnode.cpp",
|
|
|
|
|
"mcuqmlprojectnode.h",
|
2019-08-14 11:48:13 +02:00
|
|
|
"mcusupportoptionspage.cpp",
|
|
|
|
|
"mcusupportoptionspage.h",
|
|
|
|
|
"mcusupportplugin.cpp",
|
|
|
|
|
"mcusupportplugin.h",
|
2020-03-12 14:25:49 +01:00
|
|
|
"mcusupportsdk.cpp",
|
|
|
|
|
"mcusupportsdk.h",
|
2019-08-14 11:48:13 +02:00
|
|
|
"mcusupportrunconfiguration.cpp",
|
|
|
|
|
"mcusupportrunconfiguration.h",
|
2021-02-15 16:20:38 +01:00
|
|
|
"mcusupportversiondetection.cpp",
|
|
|
|
|
"mcusupportversiondetection.h",
|
2022-02-15 10:56:05 +01:00
|
|
|
"mcutargetdescription.h",
|
2022-02-01 16:51:27 +01:00
|
|
|
"mcukitinformation.cpp",
|
2022-03-09 17:29:07 +01:00
|
|
|
"mcukitinformation.h",
|
|
|
|
|
"mcuhelpers.cpp",
|
2022-03-03 17:43:41 +01:00
|
|
|
"mcuhelpers.h",
|
2022-04-22 11:41:33 +02:00
|
|
|
"settingshandler.h",
|
|
|
|
|
"settingshandler.cpp",
|
2019-08-14 11:48:13 +02:00
|
|
|
]
|
2022-02-21 11:12:29 +01:00
|
|
|
|
|
|
|
|
Group {
|
|
|
|
|
name: "McuSupport test files"
|
|
|
|
|
condition: qtc.testsEnabled && (qtc_gtest_gmock.hasRepo || qtc_gtest_gmock.externalLibsPresent)
|
|
|
|
|
prefix: "test/"
|
|
|
|
|
files: [
|
|
|
|
|
"packagemock.h",
|
2022-04-22 11:41:33 +02:00
|
|
|
"settingshandlermock.h",
|
2022-02-21 11:12:29 +01:00
|
|
|
"unittest.cpp", "unittest.h"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Properties {
|
|
|
|
|
condition: qtc.testsEnabled && (qtc_gtest_gmock.hasRepo || qtc_gtest_gmock.externalLibsPresent)
|
|
|
|
|
cpp.defines: base.concat(["GOOGLE_TEST_IS_FOUND"])
|
|
|
|
|
cpp.includePaths: base.concat([ "." ])
|
|
|
|
|
}
|
2019-08-14 11:48:13 +02:00
|
|
|
}
|