[Cmake-commits] [cmake-commits] king committed CMakeDetermineCompilerABI.cmake 1.1 1.2

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Apr 14 15:25:59 EDT 2008


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv14566/Modules

Modified Files:
	CMakeDetermineCompilerABI.cmake 
Log Message:
ENH: Clarify message about checking for compiler ABI information.


Index: CMakeDetermineCompilerABI.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/CMakeDetermineCompilerABI.cmake,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** CMakeDetermineCompilerABI.cmake	21 Jan 2008 23:30:17 -0000	1.1
--- CMakeDetermineCompilerABI.cmake	14 Apr 2008 19:25:57 -0000	1.2
***************
*** 6,10 ****
  FUNCTION(CMAKE_DETERMINE_COMPILER_ABI lang src)
    IF(NOT DEFINED CMAKE_DETERMINE_${lang}_ABI_COMPILED)
!     MESSAGE(STATUS "Detecting ${lang} compiler info")
  
      # Compile the ABI identification source.
--- 6,10 ----
  FUNCTION(CMAKE_DETERMINE_COMPILER_ABI lang src)
    IF(NOT DEFINED CMAKE_DETERMINE_${lang}_ABI_COMPILED)
!     MESSAGE(STATUS "Detecting ${lang} compiler ABI info")
  
      # Compile the ABI identification source.
***************
*** 18,24 ****
      # Load the resulting information strings.
      IF(CMAKE_DETERMINE_${lang}_ABI_COMPILED)
!       MESSAGE(STATUS "Detecting ${lang} compiler info - done")
        FILE(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
!         "Detecting ${lang} compiler info compiled with the following output:\n${OUTPUT}\n\n")
        FILE(STRINGS "${BIN}" ABI_STRINGS LIMIT_COUNT 2 REGEX "INFO:[^[]*\\[")
        FOREACH(info ${ABI_STRINGS})
--- 18,24 ----
      # Load the resulting information strings.
      IF(CMAKE_DETERMINE_${lang}_ABI_COMPILED)
!       MESSAGE(STATUS "Detecting ${lang} compiler ABI info - done")
        FILE(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
!         "Detecting ${lang} compiler ABI info compiled with the following output:\n${OUTPUT}\n\n")
        FILE(STRINGS "${BIN}" ABI_STRINGS LIMIT_COUNT 2 REGEX "INFO:[^[]*\\[")
        FOREACH(info ${ABI_STRINGS})
***************
*** 42,48 ****
  
      ELSE(CMAKE_DETERMINE_${lang}_ABI_COMPILED)
!       MESSAGE(STATUS "Detecting ${lang} compiler info - failed")
        FILE(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log
!         "Detecting ${lang} compiler info failed to compile with the following output:\n${OUTPUT}\n\n")
      ENDIF(CMAKE_DETERMINE_${lang}_ABI_COMPILED)
    ENDIF(NOT DEFINED CMAKE_DETERMINE_${lang}_ABI_COMPILED)
--- 42,48 ----
  
      ELSE(CMAKE_DETERMINE_${lang}_ABI_COMPILED)
!       MESSAGE(STATUS "Detecting ${lang} compiler ABI info - failed")
        FILE(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log
!         "Detecting ${lang} compiler ABI info failed to compile with the following output:\n${OUTPUT}\n\n")
      ENDIF(CMAKE_DETERMINE_${lang}_ABI_COMPILED)
    ENDIF(NOT DEFINED CMAKE_DETERMINE_${lang}_ABI_COMPILED)



More information about the Cmake-commits mailing list