forked from qt-creator/qt-creator
IncrediBuild: Rework CommandBuilder
Simplify interfaces. Also persist all command line settings, make overriding default arguments explicit. Change-Id: Ifb7e791dfc07ae9a88cfd769b9d21c5ee242e31d Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -34,21 +34,21 @@
|
||||
namespace IncrediBuild {
|
||||
namespace Internal {
|
||||
|
||||
class CommandBuilder;
|
||||
|
||||
class CommandBuilderAspect final : public ProjectExplorer::ProjectConfigurationAspect
|
||||
{
|
||||
public:
|
||||
explicit CommandBuilderAspect(ProjectExplorer::BuildStep *step);
|
||||
~CommandBuilderAspect() final;
|
||||
|
||||
CommandBuilder *commandBuilder() const;
|
||||
QString fullCommandFlag(bool keepJobNum) const;
|
||||
|
||||
private:
|
||||
void addToLayout(ProjectExplorer::LayoutBuilder &builder) final;
|
||||
void fromMap(const QVariantMap &map) final;
|
||||
void toMap(QVariantMap &map) const final;
|
||||
|
||||
void updateGui();
|
||||
|
||||
class CommandBuilderAspectPrivate *d = nullptr;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user