summaryrefslogtreecommitdiffstats
path: root/Templates/CMakeSystemConfig.cmake.in
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-01-07 19:07:32 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-01-07 19:07:32 (GMT)
commit6dfebfdbcd3478d4529b9858039cdc81fd4c02ea (patch)
treeab831b3117e92337281e36e777a118feff592094 /Templates/CMakeSystemConfig.cmake.in
parentbcbc8443b5db4a5c59dad4b45166913a0bccced4 (diff)
downloadCMake-6dfebfdbcd3478d4529b9858039cdc81fd4c02ea.zip
CMake-6dfebfdbcd3478d4529b9858039cdc81fd4c02ea.tar.gz
CMake-6dfebfdbcd3478d4529b9858039cdc81fd4c02ea.tar.bz2
Add sizeof some types support
Diffstat (limited to 'Templates/CMakeSystemConfig.cmake.in')
-rw-r--r--Templates/CMakeSystemConfig.cmake.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/Templates/CMakeSystemConfig.cmake.in b/Templates/CMakeSystemConfig.cmake.in
index 42f8a3e..ee15135 100644
--- a/Templates/CMakeSystemConfig.cmake.in
+++ b/Templates/CMakeSystemConfig.cmake.in
@@ -119,6 +119,14 @@ SET (CMAKE_ANSI_CXXFLAGS @CMAKE_ANSI_CXXFLAGS@ CACHE INTERNAL
SET (CMAKE_NO_EXPLICIT_TEMPLATE_INSTANTIATION @CMAKE_NO_EXPLICIT_TEMPLATE_INSTANTIATION@ CACHE INTERNAL
"Does the compiler not support explicit template instantiation.")
+SET (CMAKE_SIZEOF_INT @CMAKE_SIZEOF_INT@ CACHE INTERNAL "Size of int data type")
+SET (CMAKE_SIZEOF_LONG @CMAKE_SIZEOF_LONG@ CACHE INTERNAL "Size of long data type")
+SET (CMAKE_SIZEOF_VOID_P @CMAKE_SIZEOF_VOID_P@ CACHE INTERNAL "Size of void* data type")
+SET (CMAKE_SIZEOF_CHAR @CMAKE_SIZEOF_CHAR@ CACHE INTERNAL "Size of char data type")
+SET (CMAKE_SIZEOF_SHORT @CMAKE_SIZEOF_SHORT@ CACHE INTERNAL "Size of short data type")
+SET (CMAKE_SIZEOF_FLOAT @CMAKE_SIZEOF_FLOAT@ CACHE INTERNAL "Size of float data type")
+SET (CMAKE_SIZEOF_DOUBLE @CMAKE_SIZEOF_DOUBLE@ CACHE INTERNAL "Size of double data type")
+
FIND_PROGRAM(CMAKE_MAKE_PROGRAM NAMES gmake make )
# The following variables are advanced