- Renamed build script for brief target descriptor generation
- Created new TargetService class - Moved brief target descriptor mapping to new TargetService class - Replaced CMake custom commands with custom targets, for TDF validation and brief target descriptor generation build scripts - Moved BriefTargetDescriptor into separate header file
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include <QUrlQuery>
|
||||
|
||||
#include "src/Logger/Logger.hpp"
|
||||
#include "src/Services/TargetService.hpp"
|
||||
#include "src/Services/PathService.hpp"
|
||||
#include "src/Services/ProcessService.hpp"
|
||||
#include "src/Helpers/BiMap.hpp"
|
||||
@@ -399,10 +400,10 @@ int Application::presentCapabilitiesMachine() {
|
||||
|
||||
auto supportedTargets = QJsonArray();
|
||||
|
||||
for (const auto& [configValue, descriptor] : Targets::TargetDescription::TargetDescriptionFile::mapping()) {
|
||||
for (const auto& [configValue, descriptor] : Services::TargetService::briefDescriptorsByConfigValue()) {
|
||||
supportedTargets.push_back(QJsonObject({
|
||||
{"name" , QString::fromStdString(descriptor.targetName)},
|
||||
{"family" , targetFamilyNames.at(descriptor.targetFamily)},
|
||||
{"name" , QString::fromStdString(descriptor.name)},
|
||||
{"family" , targetFamilyNames.at(descriptor.family)},
|
||||
{"configurationValue" , QString::fromStdString(configValue)},
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user