summaryrefslogtreecommitdiffstats
path: root/Source/cmQTWrapUICommand.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-07 18:37:50 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-07 18:37:50 (GMT)
commit6e5462b698462926fcd3fb9f7be05b5f9438d540 (patch)
tree878b6b70685e9fbe7777b421c95c6da45007fa88 /Source/cmQTWrapUICommand.cxx
parent5d203a92f34ac3b5696eab549bf9c015884e6c34 (diff)
downloadCMake-6e5462b698462926fcd3fb9f7be05b5f9438d540.zip
CMake-6e5462b698462926fcd3fb9f7be05b5f9438d540.tar.gz
CMake-6e5462b698462926fcd3fb9f7be05b5f9438d540.tar.bz2
ENH: Use the new signature
Diffstat (limited to 'Source/cmQTWrapUICommand.cxx')
-rw-r--r--Source/cmQTWrapUICommand.cxx25
1 files changed, 15 insertions, 10 deletions
diff --git a/Source/cmQTWrapUICommand.cxx b/Source/cmQTWrapUICommand.cxx
index 3296053..60d8c44 100644
--- a/Source/cmQTWrapUICommand.cxx
+++ b/Source/cmQTWrapUICommand.cxx
@@ -193,22 +193,27 @@ void cmQTWrapUICommand::FinalPass()
mocargs.push_back(mocres);
mocargs.push_back(hres);
- m_Makefile->AddCustomCommand(m_WrapUserInterface[classNum].c_str(),
- uic_exe.c_str(), hargs, depends,
- hres.c_str(), m_LibraryName.c_str());
+ depends.clear();
+ depends.push_back(m_WrapUserInterface[classNum]);
+ m_Makefile->AddCustomCommandToOutput(
+ hres.c_str(),
+ uic_exe.c_str(), hargs, 0,
+ depends);
depends.push_back(hres);
- m_Makefile->AddCustomCommand(m_WrapUserInterface[classNum].c_str(),
- uic_exe.c_str(), cxxargs, depends,
- cxxres.c_str(), m_LibraryName.c_str());
+ m_Makefile->AddCustomCommandToOutput(
+ cxxres.c_str(),
+ uic_exe.c_str(), cxxargs, 0, depends);
+
+
depends.clear();
- depends.push_back(moc_exe);
+ depends.push_back(hres);
- m_Makefile->AddCustomCommand(hres.c_str(),
- moc_exe.c_str(), mocargs, depends,
- mocres.c_str(), m_LibraryName.c_str());
+ m_Makefile->AddCustomCommandToOutput(
+ mocres.c_str(),
+ moc_exe.c_str(), mocargs, 0, depends);
}