CMakeCCompiler.cmake 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. set(CMAKE_C_COMPILER "/usr/bin/cc")
  2. set(CMAKE_C_COMPILER_ARG1 "")
  3. set(CMAKE_C_COMPILER_ID "GNU")
  4. set(CMAKE_C_COMPILER_VERSION "7.5.0")
  5. set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
  6. set(CMAKE_C_COMPILER_WRAPPER "")
  7. set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
  8. set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert")
  9. set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
  10. set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
  11. set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
  12. set(CMAKE_C_PLATFORM_ID "Linux")
  13. set(CMAKE_C_SIMULATE_ID "")
  14. set(CMAKE_C_SIMULATE_VERSION "")
  15. set(CMAKE_AR "/usr/bin/ar")
  16. set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar-7")
  17. set(CMAKE_RANLIB "/usr/bin/ranlib")
  18. set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib-7")
  19. set(CMAKE_LINKER "/usr/bin/ld")
  20. set(CMAKE_COMPILER_IS_GNUCC 1)
  21. set(CMAKE_C_COMPILER_LOADED 1)
  22. set(CMAKE_C_COMPILER_WORKS TRUE)
  23. set(CMAKE_C_ABI_COMPILED TRUE)
  24. set(CMAKE_COMPILER_IS_MINGW )
  25. set(CMAKE_COMPILER_IS_CYGWIN )
  26. if(CMAKE_COMPILER_IS_CYGWIN)
  27. set(CYGWIN 1)
  28. set(UNIX 1)
  29. endif()
  30. set(CMAKE_C_COMPILER_ENV_VAR "CC")
  31. if(CMAKE_COMPILER_IS_MINGW)
  32. set(MINGW 1)
  33. endif()
  34. set(CMAKE_C_COMPILER_ID_RUN 1)
  35. set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
  36. set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
  37. set(CMAKE_C_LINKER_PREFERENCE 10)
  38. # Save compiler ABI information.
  39. set(CMAKE_C_SIZEOF_DATA_PTR "8")
  40. set(CMAKE_C_COMPILER_ABI "ELF")
  41. set(CMAKE_C_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
  42. if(CMAKE_C_SIZEOF_DATA_PTR)
  43. set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
  44. endif()
  45. if(CMAKE_C_COMPILER_ABI)
  46. set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
  47. endif()
  48. if(CMAKE_C_LIBRARY_ARCHITECTURE)
  49. set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
  50. endif()
  51. set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
  52. if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
  53. set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
  54. endif()
  55. set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s")
  56. set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
  57. set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")