CMakeOBJCXXCompiler.cmake.in 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. set(CMAKE_OBJCXX_COMPILER "@CMAKE_OBJCXX_COMPILER@")
  2. set(CMAKE_OBJCXX_COMPILER_ARG1 "@CMAKE_OBJCXX_COMPILER_ARG1@")
  3. set(CMAKE_OBJCXX_COMPILER_ID "@CMAKE_OBJCXX_COMPILER_ID@")
  4. set(CMAKE_OBJCXX_COMPILER_VERSION "@CMAKE_OBJCXX_COMPILER_VERSION@")
  5. set(CMAKE_OBJCXX_COMPILER_VERSION_INTERNAL "@CMAKE_OBJCXX_COMPILER_VERSION_INTERNAL@")
  6. set(CMAKE_OBJCXX_COMPILER_WRAPPER "@CMAKE_OBJCXX_COMPILER_WRAPPER@")
  7. set(CMAKE_OBJCXX_STANDARD_COMPUTED_DEFAULT "@CMAKE_OBJCXX_STANDARD_COMPUTED_DEFAULT@")
  8. set(CMAKE_OBJCXX_EXTENSIONS_COMPUTED_DEFAULT "@CMAKE_OBJCXX_EXTENSIONS_COMPUTED_DEFAULT@")
  9. set(CMAKE_OBJCXX_COMPILE_FEATURES "@CMAKE_OBJCXX_COMPILE_FEATURES@")
  10. set(CMAKE_OBJCXX98_COMPILE_FEATURES "@CMAKE_OBJCXX98_COMPILE_FEATURES@")
  11. set(CMAKE_OBJCXX11_COMPILE_FEATURES "@CMAKE_OBJCXX11_COMPILE_FEATURES@")
  12. set(CMAKE_OBJCXX14_COMPILE_FEATURES "@CMAKE_OBJCXX14_COMPILE_FEATURES@")
  13. set(CMAKE_OBJCXX17_COMPILE_FEATURES "@CMAKE_OBJCXX17_COMPILE_FEATURES@")
  14. set(CMAKE_OBJCXX20_COMPILE_FEATURES "@CMAKE_OBJCXX20_COMPILE_FEATURES@")
  15. set(CMAKE_OBJCXX23_COMPILE_FEATURES "@CMAKE_OBJCXX23_COMPILE_FEATURES@")
  16. set(CMAKE_OBJCXX_PLATFORM_ID "@CMAKE_OBJCXX_PLATFORM_ID@")
  17. set(CMAKE_OBJCXX_SIMULATE_ID "@CMAKE_OBJCXX_SIMULATE_ID@")
  18. set(CMAKE_OBJCXX_COMPILER_FRONTEND_VARIANT "@CMAKE_OBJCXX_COMPILER_FRONTEND_VARIANT@")
  19. set(CMAKE_OBJCXX_SIMULATE_VERSION "@CMAKE_OBJCXX_SIMULATE_VERSION@")
  20. @_SET_CMAKE_OBJCXX_COMPILER_ARCHITECTURE_ID@
  21. @SET_CMAKE_XCODE_ARCHS@
  22. set(CMAKE_AR "@CMAKE_AR@")
  23. set(CMAKE_OBJCXX_COMPILER_AR "@CMAKE_OBJCXX_COMPILER_AR@")
  24. set(CMAKE_RANLIB "@CMAKE_RANLIB@")
  25. set(CMAKE_OBJCXX_COMPILER_RANLIB "@CMAKE_OBJCXX_COMPILER_RANLIB@")
  26. set(CMAKE_LINKER "@CMAKE_LINKER@")
  27. set(CMAKE_MT "@CMAKE_MT@")
  28. set(CMAKE_TAPI "@CMAKE_TAPI@")
  29. set(CMAKE_COMPILER_IS_GNUOBJCXX @CMAKE_COMPILER_IS_GNUOBJCXX@)
  30. set(CMAKE_OBJCXX_COMPILER_LOADED 1)
  31. set(CMAKE_OBJCXX_COMPILER_WORKS @CMAKE_OBJCXX_COMPILER_WORKS@)
  32. set(CMAKE_OBJCXX_ABI_COMPILED @CMAKE_OBJCXX_ABI_COMPILED@)
  33. set(CMAKE_OBJCXX_COMPILER_ENV_VAR "OBJCXX")
  34. set(CMAKE_OBJCXX_COMPILER_ID_RUN 1)
  35. set(CMAKE_OBJCXX_SOURCE_FILE_EXTENSIONS M;m;mm)
  36. set(CMAKE_OBJCXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O)
  37. if (CMAKE_OBJC_COMPILER_ID_RUN)
  38. foreach(extension IN LISTS CMAKE_OBJC_SOURCE_FILE_EXTENSIONS)
  39. list(REMOVE_ITEM CMAKE_OBJCXX_SOURCE_FILE_EXTENSIONS ${extension})
  40. endforeach()
  41. endif()
  42. foreach (lang C CXX OBJC)
  43. foreach(extension IN LISTS CMAKE_OBJCXX_SOURCE_FILE_EXTENSIONS)
  44. if (CMAKE_${lang}_COMPILER_ID_RUN)
  45. list(REMOVE_ITEM CMAKE_${lang}_SOURCE_FILE_EXTENSIONS ${extension})
  46. endif()
  47. endforeach()
  48. endforeach()
  49. set(CMAKE_OBJCXX_LINKER_PREFERENCE 25)
  50. set(CMAKE_OBJCXX_LINKER_PREFERENCE_PROPAGATES 1)
  51. set(CMAKE_OBJCXX_LINKER_DEPFILE_SUPPORTED @CMAKE_OBJCXX_LINKER_DEPFILE_SUPPORTED@)
  52. # Save compiler ABI information.
  53. set(CMAKE_OBJCXX_SIZEOF_DATA_PTR "@CMAKE_OBJCXX_SIZEOF_DATA_PTR@")
  54. set(CMAKE_OBJCXX_COMPILER_ABI "@CMAKE_OBJCXX_COMPILER_ABI@")
  55. set(CMAKE_OBJCXX_BYTE_ORDER "@CMAKE_OBJCXX_BYTE_ORDER@")
  56. set(CMAKE_OBJCXX_LIBRARY_ARCHITECTURE "@CMAKE_OBJCXX_LIBRARY_ARCHITECTURE@")
  57. if(CMAKE_OBJCXX_SIZEOF_DATA_PTR)
  58. set(CMAKE_SIZEOF_VOID_P "${CMAKE_OBJCXX_SIZEOF_DATA_PTR}")
  59. endif()
  60. if(CMAKE_OBJCXX_COMPILER_ABI)
  61. set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_OBJCXX_COMPILER_ABI}")
  62. endif()
  63. if(CMAKE_OBJCXX_LIBRARY_ARCHITECTURE)
  64. set(CMAKE_LIBRARY_ARCHITECTURE "@CMAKE_OBJCXX_LIBRARY_ARCHITECTURE@")
  65. endif()
  66. @CMAKE_OBJCXX_COMPILER_CUSTOM_CODE@
  67. @CMAKE_OBJCXX_SYSROOT_FLAG_CODE@
  68. @CMAKE_OBJCXX_OSX_DEPLOYMENT_TARGET_FLAG_CODE@
  69. set(CMAKE_OBJCXX_IMPLICIT_INCLUDE_DIRECTORIES "@CMAKE_OBJCXX_IMPLICIT_INCLUDE_DIRECTORIES@")
  70. set(CMAKE_OBJCXX_IMPLICIT_LINK_LIBRARIES "@CMAKE_OBJCXX_IMPLICIT_LINK_LIBRARIES@")
  71. set(CMAKE_OBJCXX_IMPLICIT_LINK_DIRECTORIES "@CMAKE_OBJCXX_IMPLICIT_LINK_DIRECTORIES@")
  72. set(CMAKE_OBJCXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "@CMAKE_OBJCXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES@")