Output include directories as LOG messages, not warnings.

This commit is contained in:
Stephen Kelly 2013-01-20 13:07:31 +01:00
parent aa6674831c
commit 6063fef226
2 changed files with 8 additions and 4 deletions

View File

@ -4394,6 +4394,10 @@ void cmake::IssueMessage(cmake::MessageType t, std::string const& text,
isError = true; isError = true;
msg << "CMake Internal Error (please report a bug)"; msg << "CMake Internal Error (please report a bug)";
} }
else if(t == cmake::LOG)
{
msg << "CMake Debug Log";
}
else else
{ {
msg << "CMake Warning"; msg << "CMake Warning";

View File

@ -1,4 +1,4 @@
CMake Warning at DebugIncludes.cmake:8 \(include_directories\): CMake Debug Log at DebugIncludes.cmake:8 \(include_directories\):
Used includes for target lll: Used includes for target lll:
\* .*/Tests/RunCMake/include_directories/one \* .*/Tests/RunCMake/include_directories/one
@ -7,7 +7,7 @@ CMake Warning at DebugIncludes.cmake:8 \(include_directories\):
Call Stack \(most recent call first\): Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\) CMakeLists.txt:3 \(include\)
+ +
CMake Warning at DebugIncludes.cmake:13 \(set_property\): CMake Debug Log at DebugIncludes.cmake:13 \(set_property\):
Used includes for target lll: Used includes for target lll:
\* .*/Tests/RunCMake/include_directories/three \* .*/Tests/RunCMake/include_directories/three
@ -15,7 +15,7 @@ CMake Warning at DebugIncludes.cmake:13 \(set_property\):
Call Stack \(most recent call first\): Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\) CMakeLists.txt:3 \(include\)
+ +
CMake Warning at DebugIncludes.cmake:18 \(include_directories\): CMake Debug Log at DebugIncludes.cmake:18 \(include_directories\):
Used includes for target lll: Used includes for target lll:
\* .*/Tests/RunCMake/include_directories/four \* .*/Tests/RunCMake/include_directories/four
@ -23,7 +23,7 @@ CMake Warning at DebugIncludes.cmake:18 \(include_directories\):
Call Stack \(most recent call first\): Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\) CMakeLists.txt:3 \(include\)
+ +
CMake Warning at DebugIncludes.cmake:25 \(set_property\): CMake Debug Log at DebugIncludes.cmake:25 \(set_property\):
Used includes for target lll: Used includes for target lll:
\* .*/Tests/RunCMake/include_directories/five \* .*/Tests/RunCMake/include_directories/five