فهرست منبع

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);
 }