Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
fec96d4c
Commit
fec96d4c
authored
Jan 08, 2010
by
dt
Browse files
Fix cleaning of CMake projects
parent
38924e38
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/cmakeprojectmanager/cmakebuildconfiguration.cpp
View file @
fec96d4c
...
...
@@ -255,6 +255,7 @@ ProjectExplorer::BuildConfiguration *CMakeBuildConfigurationFactory::create(cons
MakeStep
*
cleanMakeStep
=
new
MakeStep
(
bc
);
bc
->
insertCleanStep
(
0
,
cleanMakeStep
);
cleanMakeStep
->
setAdditionalArguments
(
QStringList
()
<<
"clean"
);
cleanMakeStep
->
setClean
(
true
);
CMakeOpenProjectWizard
copw
(
m_project
->
projectManager
(),
...
...
src/plugins/cmakeprojectmanager/cmakeproject.cpp
View file @
fec96d4c
...
...
@@ -503,6 +503,7 @@ bool CMakeProject::restoreSettingsImpl(ProjectExplorer::PersistentSettingsReader
//TODO save arguments somewhere copw.arguments()
MakeStep
*
cleanMakeStep
=
new
MakeStep
(
bc
);
bc
->
insertCleanStep
(
0
,
cleanMakeStep
);
cleanMakeStep
->
setAdditionalArguments
(
QStringList
()
<<
"clean"
);
cleanMakeStep
->
setClean
(
true
);
addBuildConfiguration
(
bc
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment