CMakeCCompiler.cmake.in 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. set(CMAKE_C_COMPILER "@CMAKE_C_COMPILER@")
  2. set(CMAKE_C_COMPILER_ARG1 "@CMAKE_C_COMPILER_ARG1@")
  3. set(CMAKE_C_COMPILER_ID "@CMAKE_C_COMPILER_ID@")
  4. set(CMAKE_C_COMPILER_VERSION "@CMAKE_C_COMPILER_VERSION@")
  5. set(CMAKE_C_COMPILER_VERSION_INTERNAL "@CMAKE_C_COMPILER_VERSION_INTERNAL@")
  6. set(CMAKE_C_COMPILER_WRAPPER "@CMAKE_C_COMPILER_WRAPPER@")
  7. set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "@CMAKE_C_STANDARD_COMPUTED_DEFAULT@")
  8. set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "@CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT@")
  9. set(CMAKE_C_COMPILE_FEATURES "@CMAKE_C_COMPILE_FEATURES@")
  10. set(CMAKE_C90_COMPILE_FEATURES "@CMAKE_C90_COMPILE_FEATURES@")
  11. set(CMAKE_C99_COMPILE_FEATURES "@CMAKE_C99_COMPILE_FEATURES@")
  12. set(CMAKE_C11_COMPILE_FEATURES "@CMAKE_C11_COMPILE_FEATURES@")
  13. set(CMAKE_C17_COMPILE_FEATURES "@CMAKE_C17_COMPILE_FEATURES@")
  14. set(CMAKE_C23_COMPILE_FEATURES "@CMAKE_C23_COMPILE_FEATURES@")
  15. set(CMAKE_C_PLATFORM_ID "@CMAKE_C_PLATFORM_ID@")
  16. set(CMAKE_C_SIMULATE_ID "@CMAKE_C_SIMULATE_ID@")
  17. set(CMAKE_C_COMPILER_FRONTEND_VARIANT "@CMAKE_C_COMPILER_FRONTEND_VARIANT@")
  18. set(CMAKE_C_SIMULATE_VERSION "@CMAKE_C_SIMULATE_VERSION@")
  19. @_SET_CMAKE_C_COMPILER_ARCHITECTURE_ID@
  20. @_SET_CMAKE_C_COMPILER_SYSROOT@
  21. @SET_MSVC_C_ARCHITECTURE_ID@
  22. @SET_CMAKE_XCODE_ARCHS@
  23. set(CMAKE_AR "@CMAKE_AR@")
  24. set(CMAKE_C_COMPILER_AR "@CMAKE_C_COMPILER_AR@")
  25. set(CMAKE_RANLIB "@CMAKE_RANLIB@")
  26. set(CMAKE_C_COMPILER_RANLIB "@CMAKE_C_COMPILER_RANLIB@")
  27. set(CMAKE_LINKER "@CMAKE_LINKER@")
  28. set(CMAKE_MT "@CMAKE_MT@")
  29. set(CMAKE_TAPI "@CMAKE_TAPI@")
  30. set(CMAKE_COMPILER_IS_GNUCC @CMAKE_COMPILER_IS_GNUCC@)
  31. set(CMAKE_C_COMPILER_LOADED 1)
  32. set(CMAKE_C_COMPILER_WORKS @CMAKE_C_COMPILER_WORKS@)
  33. set(CMAKE_C_ABI_COMPILED @CMAKE_C_ABI_COMPILED@)
  34. set(CMAKE_C_COMPILER_ENV_VAR "CC")
  35. set(CMAKE_C_COMPILER_ID_RUN 1)
  36. set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
  37. set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
  38. set(CMAKE_C_LINKER_PREFERENCE 10)
  39. set(CMAKE_C_LINKER_DEPFILE_SUPPORTED @CMAKE_C_LINKER_DEPFILE_SUPPORTED@)
  40. # Save compiler ABI information.
  41. set(CMAKE_C_SIZEOF_DATA_PTR "@CMAKE_C_SIZEOF_DATA_PTR@")
  42. set(CMAKE_C_COMPILER_ABI "@CMAKE_C_COMPILER_ABI@")
  43. set(CMAKE_C_BYTE_ORDER "@CMAKE_C_BYTE_ORDER@")
  44. set(CMAKE_C_LIBRARY_ARCHITECTURE "@CMAKE_C_LIBRARY_ARCHITECTURE@")
  45. if(CMAKE_C_SIZEOF_DATA_PTR)
  46. set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
  47. endif()
  48. if(CMAKE_C_COMPILER_ABI)
  49. set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
  50. endif()
  51. if(CMAKE_C_LIBRARY_ARCHITECTURE)
  52. set(CMAKE_LIBRARY_ARCHITECTURE "@CMAKE_C_LIBRARY_ARCHITECTURE@")
  53. endif()
  54. set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "@CMAKE_C_CL_SHOWINCLUDES_PREFIX@")
  55. if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
  56. set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
  57. endif()
  58. @CMAKE_C_COMPILER_CUSTOM_CODE@
  59. @CMAKE_C_SYSROOT_FLAG_CODE@
  60. @CMAKE_C_OSX_DEPLOYMENT_TARGET_FLAG_CODE@
  61. set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "@CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES@")
  62. set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "@CMAKE_C_IMPLICIT_LINK_LIBRARIES@")
  63. set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "@CMAKE_C_IMPLICIT_LINK_DIRECTORIES@")
  64. set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "@CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES@")