2010-02-12 22:32:20 +03:00
|
|
|
|
|
|
|
#=============================================================================
|
|
|
|
# Copyright 2010 Kitware, Inc.
|
|
|
|
#
|
|
|
|
# Distributed under the OSI-approved BSD License (the "License");
|
|
|
|
# see accompanying file Copyright.txt for details.
|
|
|
|
#
|
|
|
|
# This software is distributed WITHOUT ANY WARRANTY; without even the
|
|
|
|
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
# See the License for more information.
|
|
|
|
#=============================================================================
|
2010-08-07 04:48:47 +04:00
|
|
|
# (To distribute this file outside of CMake, substitute the full
|
2010-02-12 22:32:20 +03:00
|
|
|
# License text for the above reference.)
|
|
|
|
|
|
|
|
function(PrintTestCompilerStatus LANG MSG)
|
2012-08-13 21:47:32 +04:00
|
|
|
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()
|
2010-02-12 22:32:20 +03:00
|
|
|
endfunction()
|