2010-02-12 14:32:20 -05: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-06 17:48:47 -07:00
|
|
|
# (To distribute this file outside of CMake, substitute the full
|
2010-02-12 14:32:20 -05:00
|
|
|
# License text for the above reference.)
|
|
|
|
|
|
|
|
function(PrintTestCompilerStatus LANG MSG)
|
2012-08-13 13: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 14:32:20 -05:00
|
|
|
endfunction()
|