forked from qt-creator/qt-creator
McuSupport: Provide static function for external use
Make the static function public to be used by other classes as well. Change-Id: Ifc9e423cba04557d83696446c11df7cd16a421ab Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -50,7 +50,7 @@ static void removeEmptyPackages(Packages &packages)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void expandVariables(Packages &packages)
|
void McuTargetFactory::expandVariables(Packages &packages)
|
||||||
{
|
{
|
||||||
Utils::MacroExpander macroExpander;
|
Utils::MacroExpander macroExpander;
|
||||||
for (const auto &package : packages) {
|
for (const auto &package : packages) {
|
||||||
|
@@ -22,6 +22,7 @@ public:
|
|||||||
Packages createPackages(const McuTargetDescription &);
|
Packages createPackages(const McuTargetDescription &);
|
||||||
McuToolChainPackage *createToolchain(const McuTargetDescription::Toolchain &, const Utils::FilePath &sourceFile = Utils::FilePath());
|
McuToolChainPackage *createToolchain(const McuTargetDescription::Toolchain &, const Utils::FilePath &sourceFile = Utils::FilePath());
|
||||||
McuPackagePtr createPackage(const PackageDescription &);
|
McuPackagePtr createPackage(const PackageDescription &);
|
||||||
|
static void expandVariables(Packages &packages);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
SettingsHandler::Ptr settingsHandler;
|
SettingsHandler::Ptr settingsHandler;
|
||||||
|
Reference in New Issue
Block a user