forked from qt-creator/qt-creator
Ios: Use aspects more directly in build configurations
Change-Id: I1fa9583fccd5bb6a93fcfea9e3977f626b790afb Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <qmakeprojectmanager/qmakebuildconfiguration.h>
|
||||
@@ -7,42 +8,12 @@
|
||||
|
||||
namespace Ios::Internal {
|
||||
|
||||
class IosQmakeBuildConfiguration : public QmakeProjectManager::QmakeBuildConfiguration
|
||||
{
|
||||
public:
|
||||
IosQmakeBuildConfiguration(ProjectExplorer::Target *target, Utils::Id id);
|
||||
|
||||
private:
|
||||
QList<ProjectExplorer::NamedWidget *> createSubConfigWidgets() override;
|
||||
bool fromMap(const QVariantMap &map) override;
|
||||
|
||||
void updateQmakeCommand();
|
||||
|
||||
Utils::StringAspect *m_signingIdentifier = nullptr;
|
||||
Utils::BoolAspect *m_autoManagedSigning = nullptr;
|
||||
};
|
||||
|
||||
class IosQmakeBuildConfigurationFactory : public QmakeProjectManager::QmakeBuildConfigurationFactory
|
||||
{
|
||||
public:
|
||||
IosQmakeBuildConfigurationFactory();
|
||||
};
|
||||
|
||||
class IosCMakeBuildConfiguration : public CMakeProjectManager::CMakeBuildConfiguration
|
||||
{
|
||||
public:
|
||||
IosCMakeBuildConfiguration(ProjectExplorer::Target *target, Utils::Id id);
|
||||
|
||||
private:
|
||||
QList<ProjectExplorer::NamedWidget *> createSubConfigWidgets() override;
|
||||
bool fromMap(const QVariantMap &map) override;
|
||||
|
||||
CMakeProjectManager::CMakeConfig signingFlags() const final;
|
||||
|
||||
Utils::StringAspect *m_signingIdentifier = nullptr;
|
||||
Utils::BoolAspect *m_autoManagedSigning = nullptr;
|
||||
};
|
||||
|
||||
class IosCMakeBuildConfigurationFactory : public CMakeProjectManager::CMakeBuildConfigurationFactory
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user