Nicer progress message for the automoc target

Alex
This commit is contained in:
Alex Neundorf 2011-08-16 02:00:36 +02:00
parent 50cd6cef92
commit d045fd4ec5
1 changed files with 4 additions and 2 deletions

View File

@ -66,11 +66,13 @@ void cmQtAutomoc::SetupAutomocTarget(cmTarget* target)
"", makefile->GetCurrentOutputDirectory());
std::vector<std::string> depends;
std::string automocComment = "Automoc for target ";
automocComment += targetName;
cmTarget* mocTarget = makefile->AddUtilityCommand(automocTargetName.c_str(),
true,
workingDirectory.c_str(), depends,
commandLines, false, "Automoc target");
workingDirectory.c_str(), depends,
commandLines, false, automocComment.c_str());
target->AddUtility(automocTargetName.c_str());
// configure a file to get all information to automoc at buildtime: