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:
Rainer Keller
2022-10-18 13:39:31 +02:00
parent 6c7616de1b
commit 50a5ceeaaf
2 changed files with 2 additions and 1 deletions

View File

@@ -50,7 +50,7 @@ static void removeEmptyPackages(Packages &packages)
}
}
static void expandVariables(Packages &packages)
void McuTargetFactory::expandVariables(Packages &packages)
{
Utils::MacroExpander macroExpander;
for (const auto &package : packages) {

View File

@@ -22,6 +22,7 @@ public:
Packages createPackages(const McuTargetDescription &);
McuToolChainPackage *createToolchain(const McuTargetDescription::Toolchain &, const Utils::FilePath &sourceFile = Utils::FilePath());
McuPackagePtr createPackage(const PackageDescription &);
static void expandVariables(Packages &packages);
private:
SettingsHandler::Ptr settingsHandler;