https://github.com/Kitware/CMake
Raw File
Tip revision: 6fe5df13c274441a1e1a1b10e558ef46db60bf4b authored by Brad King on 01 February 2022, 15:51:25 UTC
CMake 3.21.5
Tip revision: 6fe5df1
CMakeOBJCXXCompilerABI.mm
#ifndef __cplusplus
# error "A C compiler has been selected for Objective-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