diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-01-07 19:07:32 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-01-07 19:07:32 (GMT) |
commit | 6dfebfdbcd3478d4529b9858039cdc81fd4c02ea (patch) | |
tree | ab831b3117e92337281e36e777a118feff592094 /Templates/CMakeNMakeWindowsSystemConfig.cmake | |
parent | bcbc8443b5db4a5c59dad4b45166913a0bccced4 (diff) | |
download | CMake-6dfebfdbcd3478d4529b9858039cdc81fd4c02ea.zip CMake-6dfebfdbcd3478d4529b9858039cdc81fd4c02ea.tar.gz CMake-6dfebfdbcd3478d4529b9858039cdc81fd4c02ea.tar.bz2 |
Add sizeof some types support
Diffstat (limited to 'Templates/CMakeNMakeWindowsSystemConfig.cmake')
-rw-r--r-- | Templates/CMakeNMakeWindowsSystemConfig.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Templates/CMakeNMakeWindowsSystemConfig.cmake b/Templates/CMakeNMakeWindowsSystemConfig.cmake index a960f7c..ad36106 100644 --- a/Templates/CMakeNMakeWindowsSystemConfig.cmake +++ b/Templates/CMakeNMakeWindowsSystemConfig.cmake @@ -24,6 +24,15 @@ SET (CMAKE_STATICLIB_SUFFIX ".lib" CACHE STRING SET (CMAKE_ANSI_CFLAGS "" CACHE INTERNAL "What flags are required by the c++ compiler to make it ansi.") +# We will hardcode them for now. Make sure to fix that in the future +SET (CMAKE_SIZEOF_INT 4 CACHE INTERNAL "Size of int data type") +SET (CMAKE_SIZEOF_LONG 4 CACHE INTERNAL "Size of long data type") +SET (CMAKE_SIZEOF_VOID_P 4 CACHE INTERNAL "Size of void* data type") +SET (CMAKE_SIZEOF_CHAR 1 CACHE INTERNAL "Size of char data type") +SET (CMAKE_SIZEOF_SHORT 2 CACHE INTERNAL "Size of short data type") +SET (CMAKE_SIZEOF_FLOAT 4 CACHE INTERNAL "Size of float data type") +SET (CMAKE_SIZEOF_DOUBLE 8 CACHE INTERNAL "Size of double data type") + # Build type SET (CMAKE_BUILD_TYPE Debug CACHE STRING |