added the deletion of cmake.depends in the cleaning so that it is recomputed even source files (i.e. .cxx or .h) are generated
This commit is contained in:
parent
8c7b9cbf10
commit
dad526aad6
|
@ -1373,11 +1373,11 @@ void cmUnixMakefileGenerator::OutputMakeRules(std::ostream& fout)
|
||||||
if (m_Makefile->IsOn("QT_WRAP_CPP") || m_Makefile->IsOn("QT_WRAP_UI"))
|
if (m_Makefile->IsOn("QT_WRAP_CPP") || m_Makefile->IsOn("QT_WRAP_UI"))
|
||||||
{
|
{
|
||||||
this->OutputMakeRule(fout,
|
this->OutputMakeRule(fout,
|
||||||
"remove generated files",
|
"remove generated files and dependency file",
|
||||||
"clean",
|
"clean",
|
||||||
"$(SUBDIR_CLEAN)",
|
"$(SUBDIR_CLEAN)",
|
||||||
"rm -f $(CLEAN_OBJECT_FILES) $(EXECUTABLES)"
|
"rm -f $(CLEAN_OBJECT_FILES) $(EXECUTABLES)"
|
||||||
" $(TARGETS) ${GENERATED_QT_FILES}");
|
" $(TARGETS) ${GENERATED_QT_FILES} cmake.depends");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue