mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
Merge topic 'misc-messages'
dbe33b20bdinstall: Add context to {PUBLIC,PRIVATE}_HEADER/RESOURCE DESTINATION warnings1a25f057dacmComputeLinkInformation: Add context to warning about linking a directory4862f3b2c8cmcmd: Write progress and tar errors directly to stderrefc6c23a47bootstrap: Do not declare cmSystemTools functions that are not implemented Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6680
This commit is contained in:
@@ -1026,9 +1026,9 @@ bool HandleTargetsMode(std::vector<std::string> const& args,
|
||||
helper.GetIncludeDestination(&privateHeaderArgs));
|
||||
} else {
|
||||
std::ostringstream e;
|
||||
e << "INSTALL TARGETS - target " << target.GetName() << " has "
|
||||
e << "Target " << target.GetName() << " has "
|
||||
<< "PRIVATE_HEADER files but no PRIVATE_HEADER DESTINATION.";
|
||||
cmSystemTools::Message(e.str(), "Warning");
|
||||
helper.Makefile->IssueMessage(MessageType::AUTHOR_WARNING, e.str());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1048,9 +1048,9 @@ bool HandleTargetsMode(std::vector<std::string> const& args,
|
||||
helper.GetIncludeDestination(&publicHeaderArgs));
|
||||
} else {
|
||||
std::ostringstream e;
|
||||
e << "INSTALL TARGETS - target " << target.GetName() << " has "
|
||||
e << "Target " << target.GetName() << " has "
|
||||
<< "PUBLIC_HEADER files but no PUBLIC_HEADER DESTINATION.";
|
||||
cmSystemTools::Message(e.str(), "Warning");
|
||||
helper.Makefile->IssueMessage(MessageType::AUTHOR_WARNING, e.str());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1067,10 +1067,10 @@ bool HandleTargetsMode(std::vector<std::string> const& args,
|
||||
resourceGenerator = CreateInstallFilesGenerator(
|
||||
helper.Makefile, absFiles, resourceArgs, false);
|
||||
} else if (!target.IsAppBundleOnApple()) {
|
||||
cmSystemTools::Message(
|
||||
cmStrCat("INSTALL TARGETS - target ", target.GetName(),
|
||||
" has RESOURCE files but no RESOURCE DESTINATION."),
|
||||
"Warning");
|
||||
helper.Makefile->IssueMessage(
|
||||
MessageType::AUTHOR_WARNING,
|
||||
cmStrCat("Target ", target.GetName(),
|
||||
" has RESOURCE files but no RESOURCE DESTINATION."));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user