CMakeCCompiler.cmake.in 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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_COMPILE_FEATURES "@CMAKE_C_COMPILE_FEATURES@")
  9. set(CMAKE_C90_COMPILE_FEATURES "@CMAKE_C90_COMPILE_FEATURES@")
  10. set(CMAKE_C99_COMPILE_FEATURES "@CMAKE_C99_COMPILE_FEATURES@")
  11. set(CMAKE_C11_COMPILE_FEATURES "@CMAKE_C11_COMPILE_FEATURES@")
  12. set(CMAKE_C_PLATFORM_ID "@CMAKE_C_PLATFORM_ID@")
  13. set(CMAKE_C_SIMULATE_ID "@CMAKE_C_SIMULATE_ID@")
  14. set(CMAKE_C_COMPILER_FRONTEND_VARIANT "@CMAKE_C_COMPILER_FRONTEND_VARIANT@")
  15. set(CMAKE_C_SIMULATE_VERSION "@CMAKE_C_SIMULATE_VERSION@")
  16. @_SET_CMAKE_C_COMPILER_ARCHITECTURE_ID@
  17. @SET_MSVC_C_ARCHITECTURE_ID@
  18. @SET_CMAKE_XCODE_ARCHS@
  19. set(CMAKE_AR "@CMAKE_AR@")
  20. set(CMAKE_C_COMPILER_AR "@CMAKE_C_COMPILER_AR@")
  21. set(CMAKE_RANLIB "@CMAKE_RANLIB@")
  22. set(CMAKE_C_COMPILER_RANLIB "@CMAKE_C_COMPILER_RANLIB@")
  23. set(CMAKE_LINKER "@CMAKE_LINKER@")
  24. set(CMAKE_MT "@CMAKE_MT@")
  25. set(CMAKE_COMPILER_IS_GNUCC @CMAKE_COMPILER_IS_GNUCC@)
  26. set(CMAKE_C_COMPILER_LOADED 1)
  27. set(CMAKE_C_COMPILER_WORKS @CMAKE_C_COMPILER_WORKS@)
  28. set(CMAKE_C_ABI_COMPILED @CMAKE_C_ABI_COMPILED@)
  29. set(CMAKE_COMPILER_IS_MINGW @CMAKE_COMPILER_IS_MINGW@)
  30. set(CMAKE_COMPILER_IS_CYGWIN @CMAKE_COMPILER_IS_CYGWIN@)
  31. if(CMAKE_COMPILER_IS_CYGWIN)
  32. set(CYGWIN 1)
  33. set(UNIX 1)
  34. endif()
  35. set(CMAKE_C_COMPILER_ENV_VAR "CC")
  36. if(CMAKE_COMPILER_IS_MINGW)
  37. set(MINGW 1)
  38. endif()
  39. set(CMAKE_C_COMPILER_ID_RUN 1)
  40. set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
  41. set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
  42. set(CMAKE_C_LINKER_PREFERENCE 10)
  43. # Save compiler ABI information.
  44. set(CMAKE_C_SIZEOF_DATA_PTR "@CMAKE_C_SIZEOF_DATA_PTR@")
  45. set(CMAKE_C_COMPILER_ABI "@CMAKE_C_COMPILER_ABI@")
  46. set(CMAKE_C_LIBRARY_ARCHITECTURE "@CMAKE_C_LIBRARY_ARCHITECTURE@")
  47. if(CMAKE_C_SIZEOF_DATA_PTR)
  48. set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
  49. endif()
  50. if(CMAKE_C_COMPILER_ABI)
  51. set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
  52. endif()
  53. if(CMAKE_C_LIBRARY_ARCHITECTURE)
  54. set(CMAKE_LIBRARY_ARCHITECTURE "@CMAKE_C_LIBRARY_ARCHITECTURE@")
  55. endif()
  56. set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "@CMAKE_C_CL_SHOWINCLUDES_PREFIX@")
  57. if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
  58. set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
  59. endif()
  60. @CMAKE_C_COMPILER_CUSTOM_CODE@
  61. @CMAKE_C_SYSROOT_FLAG_CODE@
  62. @CMAKE_C_OSX_DEPLOYMENT_TARGET_FLAG_CODE@
  63. set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "@CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES@")
  64. set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "@CMAKE_C_IMPLICIT_LINK_LIBRARIES@")
  65. set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "@CMAKE_C_IMPLICIT_LINK_DIRECTORIES@")
  66. set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "@CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES@")