CMakeCCompiler.cmake.in 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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_PLATFORM_ID "@CMAKE_C_PLATFORM_ID@")
  6. @SET_MSVC_C_ARCHITECTURE_ID@
  7. set(CMAKE_AR "@CMAKE_AR@")
  8. set(CMAKE_RANLIB "@CMAKE_RANLIB@")
  9. set(CMAKE_LINKER "@CMAKE_LINKER@")
  10. set(CMAKE_COMPILER_IS_GNUCC @CMAKE_COMPILER_IS_GNUCC@)
  11. set(CMAKE_C_COMPILER_LOADED 1)
  12. set(CMAKE_C_COMPILER_WORKS @CMAKE_C_COMPILER_WORKS@)
  13. set(CMAKE_C_ABI_COMPILED @CMAKE_C_ABI_COMPILED@)
  14. set(CMAKE_COMPILER_IS_MINGW @CMAKE_COMPILER_IS_MINGW@)
  15. set(CMAKE_COMPILER_IS_CYGWIN @CMAKE_COMPILER_IS_CYGWIN@)
  16. if(CMAKE_COMPILER_IS_CYGWIN)
  17. set(CYGWIN 1)
  18. set(UNIX 1)
  19. endif()
  20. set(CMAKE_C_COMPILER_ENV_VAR "CC")
  21. if(CMAKE_COMPILER_IS_MINGW)
  22. set(MINGW 1)
  23. endif()
  24. set(CMAKE_C_COMPILER_ID_RUN 1)
  25. set(CMAKE_C_SOURCE_FILE_EXTENSIONS c)
  26. set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
  27. set(CMAKE_C_LINKER_PREFERENCE 10)
  28. # Save compiler ABI information.
  29. set(CMAKE_C_SIZEOF_DATA_PTR "@CMAKE_C_SIZEOF_DATA_PTR@")
  30. set(CMAKE_C_COMPILER_ABI "@CMAKE_C_COMPILER_ABI@")
  31. set(CMAKE_C_LIBRARY_ARCHITECTURE "@CMAKE_C_LIBRARY_ARCHITECTURE@")
  32. if(CMAKE_C_SIZEOF_DATA_PTR)
  33. set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
  34. endif()
  35. if(CMAKE_C_COMPILER_ABI)
  36. set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
  37. endif()
  38. if(CMAKE_C_LIBRARY_ARCHITECTURE)
  39. set(CMAKE_LIBRARY_ARCHITECTURE "@CMAKE_C_LIBRARY_ARCHITECTURE@")
  40. endif()
  41. set(CMAKE_C_HAS_ISYSROOT "@CMAKE_C_HAS_ISYSROOT@")
  42. @CMAKE_C_OSX_DEPLOYMENT_TARGET_FLAG_CODE@
  43. set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "@CMAKE_C_IMPLICIT_LINK_LIBRARIES@")
  44. set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "@CMAKE_C_IMPLICIT_LINK_DIRECTORIES@")
  45. @SET_CMAKE_CMCLDEPS_EXECUTABLE@
  46. @SET_CMAKE_CL_SHOWINCLUDE_PREFIX@