Meson: Compactify MesonRunConfiguration setup

Change-Id: I10a600b601301283dbdc960d9e07e5587b52c031
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
hjk
2023-05-25 09:23:04 +02:00
parent 6ab66690af
commit 4136b6e795
2 changed files with 47 additions and 61 deletions

View File

@@ -5,17 +5,7 @@
#include <projectexplorer/runconfiguration.h>
namespace MesonProjectManager {
namespace Internal {
class MesonRunConfiguration final : public ProjectExplorer::RunConfiguration
{
public:
MesonRunConfiguration(ProjectExplorer::Target *target, Utils::Id id);
private:
void updateTargetInformation();
};
namespace MesonProjectManager::Internal {
class MesonRunConfigurationFactory final : public ProjectExplorer::RunConfigurationFactory
{
@@ -23,5 +13,4 @@ public:
MesonRunConfigurationFactory();
};
} // namespace Internal
} // namespace MesonProjectManager
} // MesonProjectManager::Internal