forked from qt-creator/qt-creator
CMake: Move CMakeInstallStep definition to .cpp
It doesn't have to be a Q_OBJECT. Smaller interface. Also de-noise a bit. Change-Id: I70c056e76646e9de166ded46f6fd4f448a804112 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -3,38 +3,14 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "cmakeabstractprocessstep.h"
|
||||
|
||||
namespace Utils {
|
||||
class CommandLine;
|
||||
class StringAspect;
|
||||
} // namespace Utils
|
||||
#include <projectexplorer/buildstep.h>
|
||||
|
||||
namespace CMakeProjectManager::Internal {
|
||||
|
||||
class CMakeInstallStep : public CMakeAbstractProcessStep
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
CMakeInstallStep(ProjectExplorer::BuildStepList *bsl, Utils::Id id);
|
||||
|
||||
private:
|
||||
Utils::CommandLine cmakeCommand() const;
|
||||
|
||||
void processFinished(bool success) override;
|
||||
|
||||
void setupOutputFormatter(Utils::OutputFormatter *formatter) override;
|
||||
QWidget *createConfigWidget() override;
|
||||
|
||||
friend class CMakeInstallStepConfigWidget;
|
||||
Utils::StringAspect *m_cmakeArguments = nullptr;
|
||||
};
|
||||
|
||||
class CMakeInstallStepFactory : public ProjectExplorer::BuildStepFactory
|
||||
{
|
||||
public:
|
||||
CMakeInstallStepFactory();
|
||||
};
|
||||
|
||||
} // namespace CMakeProjectManager::Internal
|
||||
} // CMakeProjectManager::Internal
|
||||
|
||||
Reference in New Issue
Block a user