CMakeCXXCompilerABI.cpp 388 B

123456789101112131415161718
  1. #ifndef __cplusplus
  2. # error "A C compiler has been selected for C++."
  3. #endif
  4. #include "CMakeCompilerABI.h"
  5. int main(int argc, char* argv[])
  6. {
  7. int require = 0;
  8. require += info_sizeof_dptr[argc];
  9. require += info_byte_order_big_endian[argc];
  10. require += info_byte_order_little_endian[argc];
  11. #if defined(ABI_ID)
  12. require += info_abi[argc];
  13. #endif
  14. (void)argv;
  15. return require;
  16. }