[Cmake-commits] CMake branch, next, updated. v3.5.0-rc3-283-ge2b8af5
Brad King
brad.king at kitware.com
Thu Feb 25 08:50:54 EST 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via e2b8af58c0f4e497bd9a557a8eac7c53f974640a (commit)
via f3ac06519f10ba535abe91dfd6e7074a366f5a14 (commit)
via 9b6fdbfb922d65794847fabb047c3045632829c0 (commit)
from 892a53437ff2f626fdc19b568dd80eeb7a0a81a5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e2b8af58c0f4e497bd9a557a8eac7c53f974640a
commit e2b8af58c0f4e497bd9a557a8eac7c53f974640a
Merge: 892a534 f3ac065
Author: Brad King <brad.king at kitware.com>
AuthorDate: Thu Feb 25 08:50:53 2016 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Feb 25 08:50:53 2016 -0500
Merge topic 'compiler-check-message' into next
f3ac0651 Improve compiler check message on non-Make generators
9b6fdbfb CMake Nightly Date Stamp
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f3ac06519f10ba535abe91dfd6e7074a366f5a14
commit f3ac06519f10ba535abe91dfd6e7074a366f5a14
Author: Brad King <brad.king at kitware.com>
AuthorDate: Thu Feb 25 08:25:35 2016 -0500
Commit: Brad King <brad.king at kitware.com>
CommitDate: Thu Feb 25 08:29:41 2016 -0500
Improve compiler check message on non-Make generators
When we check for a working compiler we print a message of the form:
Check for working <LANG> compiler: ...
At one time CMAKE_<LANG>_COMPILER was not well-defined for all
generators so we printed the generator name instead of the path to
the compiler. Nowadays we always know the compiler, so update the
message to print it unconditionally. This is more informative than
the generator name, especially when a toolset (cmake -T) is used.
Suggested-by: Gregor Jasny <gjasny at googlemail.com>
diff --git a/Modules/CMakeTestCompilerCommon.cmake b/Modules/CMakeTestCompilerCommon.cmake
index d51b503..e0d45e7 100644
--- a/Modules/CMakeTestCompilerCommon.cmake
+++ b/Modules/CMakeTestCompilerCommon.cmake
@@ -13,9 +13,5 @@
# License text for the above reference.)
function(PrintTestCompilerStatus LANG MSG)
- if(CMAKE_GENERATOR MATCHES Make)
- message(STATUS "Check for working ${LANG} compiler: ${CMAKE_${LANG}_COMPILER}${MSG}")
- else()
- message(STATUS "Check for working ${LANG} compiler using: ${CMAKE_GENERATOR}${MSG}")
- endif()
+ message(STATUS "Check for working ${LANG} compiler: ${CMAKE_${LANG}_COMPILER}${MSG}")
endfunction()
-----------------------------------------------------------------------
Summary of changes:
Modules/CMakeTestCompilerCommon.cmake | 6 +-----
Source/CMakeVersion.cmake | 2 +-
2 files changed, 2 insertions(+), 6 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list