ENH: Use the new signature

This commit is contained in:
Andy Cedilnik 2003-08-07 14:37:50 -04:00
parent 5d203a92f3
commit 6e5462b698
1 changed files with 15 additions and 10 deletions

View File

@ -193,22 +193,27 @@ void cmQTWrapUICommand::FinalPass()
mocargs.push_back(mocres); mocargs.push_back(mocres);
mocargs.push_back(hres); mocargs.push_back(hres);
m_Makefile->AddCustomCommand(m_WrapUserInterface[classNum].c_str(), depends.clear();
uic_exe.c_str(), hargs, depends, depends.push_back(m_WrapUserInterface[classNum]);
hres.c_str(), m_LibraryName.c_str()); m_Makefile->AddCustomCommandToOutput(
hres.c_str(),
uic_exe.c_str(), hargs, 0,
depends);
depends.push_back(hres); depends.push_back(hres);
m_Makefile->AddCustomCommand(m_WrapUserInterface[classNum].c_str(), m_Makefile->AddCustomCommandToOutput(
uic_exe.c_str(), cxxargs, depends, cxxres.c_str(),
cxxres.c_str(), m_LibraryName.c_str()); uic_exe.c_str(), cxxargs, 0, depends);
depends.clear(); depends.clear();
depends.push_back(moc_exe); depends.push_back(hres);
m_Makefile->AddCustomCommand(hres.c_str(), m_Makefile->AddCustomCommandToOutput(
moc_exe.c_str(), mocargs, depends, mocres.c_str(),
mocres.c_str(), m_LibraryName.c_str()); moc_exe.c_str(), mocargs, 0, depends);
} }