summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-08-14 15:06:34 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-08-14 15:06:34 (GMT)
commit72caf4d1787bc464f68954853a4edc3cf169a5f0 (patch)
treeb0b18ea298252478e0d4ce752d4d1de259e3e098 /Source
parentddb517d014bf2245b38a0b56c9b7e98e6aaf7988 (diff)
downloadCMake-72caf4d1787bc464f68954853a4edc3cf169a5f0.zip
CMake-72caf4d1787bc464f68954853a4edc3cf169a5f0.tar.gz
CMake-72caf4d1787bc464f68954853a4edc3cf169a5f0.tar.bz2
Add the generated automoc.cpp file to the cleaned files
Alex
Diffstat (limited to 'Source')
-rw-r--r--Source/cmQtAutomoc.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmQtAutomoc.cxx b/Source/cmQtAutomoc.cxx
index 6e8c77e..316d824 100644
--- a/Source/cmQtAutomoc.cxx
+++ b/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);
}