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