浏览代码

Add the generated automoc.cpp file to the cleaned files

Alex
Alex Neundorf 14 年之前
父节点
当前提交
72caf4d178
共有 1 个文件被更改,包括 2 次插入0 次删除
  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);
 }