Browse Source

Add the generated automoc.cpp file to the cleaned files

Alex
Alex Neundorf 14 years ago
parent
commit
72caf4d178
1 changed files with 2 additions and 0 deletions
  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);
 }