https://github.com/Kitware/CMake
Raw File
Tip revision: 8c562ece28b7a13ddb734b8c51710ebafe9ac570 authored by Brad King on 23 June 2022, 14:58:01 UTC
CMake 3.24.0-rc2
Tip revision: 8c562ec
CMakeCXXCompilerABI.cpp
#ifndef __cplusplus
#  error "A C compiler has been selected for C++."
#endif

#include "CMakeCompilerABI.h"

int main(int argc, char* argv[])
{
  int require = 0;
  require += info_sizeof_dptr[argc];
  require += info_byte_order_big_endian[argc];
  require += info_byte_order_little_endian[argc];
#if defined(ABI_ID)
  require += info_abi[argc];
#endif
  (void)argv;
  return require;
}
back to top