summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestBuildCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-05-09 13:01:08 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-05-09 13:01:08 (GMT)
commit7ecd9648a166ecf500badfd0c4eab77a15101c35 (patch)
tree29dba5c66e0b210f846e64b64f2af21e8fcddc1e /Source/CTest/cmCTestBuildCommand.cxx
parent488b82f8ccca4de8a052b94ddf2be131682561cb (diff)
parentafca373510b5303d55fde17085718323ea9b2cb9 (diff)
downloadCMake-7ecd9648a166ecf500badfd0c4eab77a15101c35.zip
CMake-7ecd9648a166ecf500badfd0c4eab77a15101c35.tar.gz
CMake-7ecd9648a166ecf500badfd0c4eab77a15101c35.tar.bz2
Merge topic 'clang-format-prep'
afca3735 Help clang-format wrap after braces on long initializer lists 85425a3e Move comments off of class access specifier lines 64b55203 Isolate formatted streaming blocks with clang-format off/on
Diffstat (limited to 'Source/CTest/cmCTestBuildCommand.cxx')
-rw-r--r--Source/CTest/cmCTestBuildCommand.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestBuildCommand.cxx b/Source/CTest/cmCTestBuildCommand.cxx
index 0cfcc64..957e3e4 100644
--- a/Source/CTest/cmCTestBuildCommand.cxx
+++ b/Source/CTest/cmCTestBuildCommand.cxx
@@ -151,6 +151,7 @@ cmCTestGenericHandler* cmCTestBuildCommand::InitializeHandler()
else
{
std::ostringstream ostr;
+ /* clang-format off */
ostr << "has no project to build. If this is a "
"\"built with CMake\" project, verify that CTEST_CMAKE_GENERATOR "
"and CTEST_PROJECT_NAME are set."
@@ -162,6 +163,7 @@ cmCTestGenericHandler* cmCTestBuildCommand::InitializeHandler()
"\n"
"Alternatively, set CTEST_BUILD_COMMAND to build the project "
"with a custom command line.";
+ /* clang-format on */
this->SetError(ostr.str());
return 0;
}