summaryrefslogtreecommitdiffstats
path: root/Modules/CheckSizeOf.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-11-13 21:31:12 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-11-13 21:31:12 (GMT)
commitfe8428a3eed300833e1e184fefcb227aab99d20f (patch)
tree975d7e570235f727f7a5c77ee38c285882cdcb7b /Modules/CheckSizeOf.cmake
parent20b7e6b22204b034d204252c0475f292e830ff61 (diff)
downloadCMake-fe8428a3eed300833e1e184fefcb227aab99d20f.zip
CMake-fe8428a3eed300833e1e184fefcb227aab99d20f.tar.gz
CMake-fe8428a3eed300833e1e184fefcb227aab99d20f.tar.bz2
ENH: add status messages
Diffstat (limited to 'Modules/CheckSizeOf.cmake')
-rw-r--r--Modules/CheckSizeOf.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/CheckSizeOf.cmake b/Modules/CheckSizeOf.cmake
index 57b7f21..ddeb350 100644
--- a/Modules/CheckSizeOf.cmake
+++ b/Modules/CheckSizeOf.cmake
@@ -14,13 +14,14 @@ MACRO(CHECK_TYPE_SIZE TYPE VARIABLE)
IF(HAVE_STDINT_H)
SET(MACRO_CHECK_TYPE_SIZE_FLAGS "${MACRO_CHECK_TYPE_SIZE_FLAGS} -DHAVE_STDINT_H")
ENDIF(HAVE_STDINT_H)
-
+ MESSAGE(STATUS "Check size of ${TYPE}")
TRY_RUN(${VARIABLE} HAVE_${VARIABLE}
${PROJECT_BINARY_DIR}
${CMAKE_ROOT}/Modules/CheckSizeOf.c
CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_TYPE_SIZE_FLAGS}
OUTPUT_VARIABLE OUTPUT)
IF(NOT HAVE_${VARIABLE})
+ MESSAGE(STATUS "Error in Check size of ${TYPE}")
WRITE_FILE(${PROJECT_BINARY_DIR}/CMakeError.log
"Determining size of ${TYPE} failed with the following output:\n${OUTPUT}\n"
APPEND)