diff options
author | Alex Neundorf <neundorf@kde.org> | 2011-08-14 15:06:34 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2011-08-14 15:06:34 (GMT) |
commit | 72caf4d1787bc464f68954853a4edc3cf169a5f0 (patch) | |
tree | b0b18ea298252478e0d4ce752d4d1de259e3e098 /Source/cmQtAutomoc.cxx | |
parent | ddb517d014bf2245b38a0b56c9b7e98e6aaf7988 (diff) | |
download | CMake-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/cmQtAutomoc.cxx')
-rw-r--r-- | Source/cmQtAutomoc.cxx | 2 |
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); } |