https://github.com/Kitware/CMake
Revision 624b0fa923ef669649300e923931730d0bd03ba7 authored by Brad King on 24 February 2014, 15:40:07 UTC, committed by CMake Topic Stage on 24 February 2014, 15:40:07 UTC
73e5c6ae ExternalProject: Add option to always run the build step

2 parent s 461eaee + 73e5c6a
Raw File
Tip revision: 624b0fa923ef669649300e923931730d0bd03ba7 authored by Brad King on 24 February 2014, 15:40:07 UTC
Merge topic 'ExternalProject-BUILD_ALWAYS'
Tip revision: 624b0fa
CMakeFortranCompilerABI.F
      PROGRAM CMakeFortranCompilerABI
#if 0
! Address Size
#endif
#if defined(_LP64)
        PRINT *, 'INFO:sizeof_dptr[8]'
#elif defined(_M_IA64)
        PRINT *, 'INFO:sizeof_dptr[8]'
#elif defined(_M_X64)
        PRINT *, 'INFO:sizeof_dptr[8]'
#elif defined(_M_AMD64)
        PRINT *, 'INFO:sizeof_dptr[8]'

#elif defined(_ILP32)
        PRINT *, 'INFO:sizeof_dptr[4]'
#elif defined(_M_IX86)
        PRINT *, 'INFO:sizeof_dptr[4]'

#elif defined(__SIZEOF_POINTER__) && __SIZEOF_POINTER__ == 8
        PRINT *, 'INFO:sizeof_dptr[8]'
#elif defined(__SIZEOF_POINTER__) && __SIZEOF_POINTER__ == 4
        PRINT *, 'INFO:sizeof_dptr[4]'
#elif defined(__SIZEOF_SIZE_T__) && __SIZEOF_SIZE_T__ == 8
        PRINT *, 'INFO:sizeof_dptr[8]'
#elif defined(__SIZEOF_SIZE_T__) && __SIZEOF_SIZE_T__ == 4
        PRINT *, 'INFO:sizeof_dptr[4]'
#endif

#if 0
! Application Binary Interface
#endif
#if defined(__sgi) && defined(_ABIO32)
        PRINT *, 'INFO:abi[ELF O32]'
#elif defined(__sgi) && defined(_ABIN32)
        PRINT *, 'INFO:abi[ELF N32]'
#elif defined(__sgi) && defined(_ABI64)
        PRINT *, 'INFO:abi[ELF 64]'
#elif defined(__ELF__)
        PRINT *, 'INFO:abi[ELF]'
#endif
        PRINT *, 'ABI Detection'
      END
back to top