2 #=============================================================================
3 # Copyright 2010 Kitware, Inc.
5 # Distributed under the OSI-approved BSD License (the "License");
6 # see accompanying file Copyright.txt for details.
8 # This software is distributed WITHOUT ANY WARRANTY; without even the
9 # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 # See the License for more information.
11 #=============================================================================
12 # (To distribute this file outside of CMake, substitute the full
13 # License text for the above reference.)
15 function(PrintTestCompilerStatus LANG MSG)
16 if(CMAKE_GENERATOR MATCHES Make)
17 message(STATUS "Check for working ${LANG} compiler: ${CMAKE_${LANG}_COMPILER}${MSG}")
19 message(STATUS "Check for working ${LANG} compiler using: ${CMAKE_GENERATOR}${MSG}")