forked from qt-creator/qt-creator
Nim/Qbs: Append clean steps by id to build configuration
Change-Id: Icd775c771939c72aea1f9fd73bbbd9f8481703eb Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -28,7 +28,6 @@
|
||||
#include "nimproject.h"
|
||||
#include "nimbuildconfiguration.h"
|
||||
#include "nimcompilerbuildstep.h"
|
||||
#include "nimcompilercleanstep.h"
|
||||
#include "nimproject.h"
|
||||
|
||||
#include "../nimconstants.h"
|
||||
@@ -116,7 +115,7 @@ void NimBuildConfiguration::initialize(const BuildInfo &info)
|
||||
// Add clean step
|
||||
{
|
||||
BuildStepList *cleanSteps = stepList(ProjectExplorer::Constants::BUILDSTEPS_CLEAN);
|
||||
cleanSteps->appendStep(new NimCompilerCleanStep(cleanSteps));
|
||||
cleanSteps->appendStep(Constants::C_NIMCOMPILERCLEANSTEP_ID);
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -124,7 +124,7 @@ void QbsBuildConfiguration::initialize(const BuildInfo &info)
|
||||
buildSteps->appendStep(bs);
|
||||
|
||||
BuildStepList *cleanSteps = stepList(ProjectExplorer::Constants::BUILDSTEPS_CLEAN);
|
||||
cleanSteps->appendStep(new QbsCleanStep(cleanSteps));
|
||||
cleanSteps->appendStep(Constants::QBS_CLEANSTEP_ID);
|
||||
|
||||
emit qbsConfigurationChanged();
|
||||
}
|
||||
|
Reference in New Issue
Block a user