Răsfoiți Sursa

Add the generated automoc.cpp file to the cleaned files

Alex
Alex Neundorf 14 ani în urmă
părinte
comite
72caf4d178
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      Source/cmQtAutomoc.cxx

+ 2 - 0
Source/cmQtAutomoc.cxx

@@ -140,6 +140,8 @@ void cmQtAutomoc::SetupAutomocTarget(cmMakefile* makefile,
   makefile->GetOrCreateSource(mocCppFile.c_str(), true);
   srcs.push_back(mocCppFile);
 
+  makefile->AppendProperty("ADDITIONAL_MAKE_CLEAN_FILES",
+                           mocCppFile.c_str(), false);
 }