mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 14:19:59 -05:00
Revise C++ coding style using clang-format-6.0
Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 6.0. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
This commit is contained in:
@@ -861,11 +861,13 @@ bool cmInstallCommand::HandleFilesMode(std::vector<std::string> const& args)
|
||||
messageType = cmake::FATAL_ERROR;
|
||||
}
|
||||
if (modal) {
|
||||
e << "The file\n " << file << "\nwas generated by the export() "
|
||||
"command. It "
|
||||
<< modal << " not be installed with the "
|
||||
"install() command. Use the install(EXPORT) mechanism "
|
||||
"instead. See the cmake-packages(7) manual for more.\n";
|
||||
e << "The file\n " << file
|
||||
<< "\nwas generated by the export() "
|
||||
"command. It "
|
||||
<< modal
|
||||
<< " not be installed with the "
|
||||
"install() command. Use the install(EXPORT) mechanism "
|
||||
"instead. See the cmake-packages(7) manual for more.\n";
|
||||
this->Makefile->IssueMessage(messageType, e.str());
|
||||
if (messageType == cmake::FATAL_ERROR) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user