summaryrefslogtreecommitdiffstats
path: root/Source/cmQTWrapCPPCommand.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-11-03 20:53:54 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-11-03 20:53:54 (GMT)
commit271f4be42a12628afd87502022e5df089bbdd215 (patch)
tree422fa25bbe9780eb7465f9809a55876cf9be09d8 /Source/cmQTWrapCPPCommand.cxx
parentb1f1118239cafe51ce69170c0d37e6727de8abe5 (diff)
downloadCMake-271f4be42a12628afd87502022e5df089bbdd215.zip
CMake-271f4be42a12628afd87502022e5df089bbdd215.tar.gz
CMake-271f4be42a12628afd87502022e5df089bbdd215.tar.bz2
BUG: Fix Bug #319 - Change in QT_WRAP_CPP's behaviour
Diffstat (limited to 'Source/cmQTWrapCPPCommand.cxx')
-rw-r--r--Source/cmQTWrapCPPCommand.cxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/Source/cmQTWrapCPPCommand.cxx b/Source/cmQTWrapCPPCommand.cxx
index 6800a54..a446ded 100644
--- a/Source/cmQTWrapCPPCommand.cxx
+++ b/Source/cmQTWrapCPPCommand.cxx
@@ -144,10 +144,14 @@ void cmQTWrapCPPCommand::FinalPass()
args.push_back(res);
args.push_back(m_WrapHeaders[classNum]);
- m_Makefile->AddCustomCommand(m_WrapHeaders[classNum].c_str(),
- moc_exe.c_str(), args, depends,
- res.c_str(), m_LibraryName.c_str());
-
+ m_Makefile->AddCustomCommandToOutput(
+ res.c_str(),
+ moc_exe.c_str(),
+ args,
+ 0,
+ depends,
+ "QT Wrapped File",
+ 0);
}
m_Makefile->AddDefinition("GENERATED_QT_FILES",moc_list.c_str());