CMakeOBJCCompiler.cmake.in 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. set(CMAKE_OBJC_COMPILER "@CMAKE_OBJC_COMPILER@")
  2. set(CMAKE_OBJC_COMPILER_ARG1 "@CMAKE_OBJC_COMPILER_ARG1@")
  3. set(CMAKE_OBJC_COMPILER_ID "@CMAKE_OBJC_COMPILER_ID@")
  4. set(CMAKE_OBJC_COMPILER_VERSION "@CMAKE_OBJC_COMPILER_VERSION@")
  5. set(CMAKE_OBJC_COMPILER_VERSION_INTERNAL "@CMAKE_OBJC_COMPILER_VERSION_INTERNAL@")
  6. set(CMAKE_OBJC_COMPILER_WRAPPER "@CMAKE_OBJC_COMPILER_WRAPPER@")
  7. set(CMAKE_OBJC_STANDARD_COMPUTED_DEFAULT "@CMAKE_OBJC_STANDARD_COMPUTED_DEFAULT@")
  8. set(CMAKE_OBJC_COMPILE_FEATURES "@CMAKE_OBJC_COMPILE_FEATURES@")
  9. set(CMAKE_OBJC90_COMPILE_FEATURES "@CMAKE_OBJC90_COMPILE_FEATURES@")
  10. set(CMAKE_OBJC99_COMPILE_FEATURES "@CMAKE_OBJC99_COMPILE_FEATURES@")
  11. set(CMAKE_OBJC11_COMPILE_FEATURES "@CMAKE_OBJC11_COMPILE_FEATURES@")
  12. set(CMAKE_OBJC_PLATFORM_ID "@CMAKE_OBJC_PLATFORM_ID@")
  13. set(CMAKE_OBJC_SIMULATE_ID "@CMAKE_OBJC_SIMULATE_ID@")
  14. set(CMAKE_OBJC_COMPILER_FRONTEND_VARIANT "@CMAKE_OBJC_COMPILER_FRONTEND_VARIANT@")
  15. set(CMAKE_OBJC_SIMULATE_VERSION "@CMAKE_OBJC_SIMULATE_VERSION@")
  16. @_SET_CMAKE_OBJC_COMPILER_ARCHITECTURE_ID@
  17. @SET_CMAKE_XCODE_ARCHS@
  18. set(CMAKE_AR "@CMAKE_AR@")
  19. set(CMAKE_OBJC_COMPILER_AR "@CMAKE_OBJC_COMPILER_AR@")
  20. set(CMAKE_RANLIB "@CMAKE_RANLIB@")
  21. set(CMAKE_OBJC_COMPILER_RANLIB "@CMAKE_OBJC_COMPILER_RANLIB@")
  22. set(CMAKE_LINKER "@CMAKE_LINKER@")
  23. set(CMAKE_MT "@CMAKE_MT@")
  24. set(CMAKE_COMPILER_IS_GNUOBJC @CMAKE_COMPILER_IS_GNUOBJC@)
  25. set(CMAKE_OBJC_COMPILER_LOADED 1)
  26. set(CMAKE_OBJC_COMPILER_WORKS @CMAKE_OBJC_COMPILER_WORKS@)
  27. set(CMAKE_OBJC_ABI_COMPILED @CMAKE_OBJC_ABI_COMPILED@)
  28. set(CMAKE_OBJC_COMPILER_ENV_VAR "OBJC")
  29. set(CMAKE_OBJC_COMPILER_ID_RUN 1)
  30. set(CMAKE_OBJC_SOURCE_FILE_EXTENSIONS m)
  31. set(CMAKE_OBJC_IGNORE_EXTENSIONS h;H;o;O)
  32. set(CMAKE_OBJC_LINKER_PREFERENCE 5)
  33. foreach (lang C CXX OBJCXX)
  34. foreach(extension IN LISTS CMAKE_OBJC_SOURCE_FILE_EXTENSIONS)
  35. if (CMAKE_${lang}_COMPILER_ID_RUN)
  36. list(REMOVE_ITEM CMAKE_${lang}_SOURCE_FILE_EXTENSIONS ${extension})
  37. endif()
  38. endforeach()
  39. endforeach()
  40. # Save compiler ABI information.
  41. set(CMAKE_OBJC_SIZEOF_DATA_PTR "@CMAKE_OBJC_SIZEOF_DATA_PTR@")
  42. set(CMAKE_OBJC_COMPILER_ABI "@CMAKE_OBJC_COMPILER_ABI@")
  43. set(CMAKE_OBJC_LIBRARY_ARCHITECTURE "@CMAKE_OBJC_LIBRARY_ARCHITECTURE@")
  44. if(CMAKE_OBJC_SIZEOF_DATA_PTR)
  45. set(CMAKE_SIZEOF_VOID_P "${CMAKE_OBJC_SIZEOF_DATA_PTR}")
  46. endif()
  47. if(CMAKE_OBJC_COMPILER_ABI)
  48. set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_OBJC_COMPILER_ABI}")
  49. endif()
  50. if(CMAKE_OBJC_LIBRARY_ARCHITECTURE)
  51. set(CMAKE_LIBRARY_ARCHITECTURE "@CMAKE_OBJC_LIBRARY_ARCHITECTURE@")
  52. endif()
  53. @CMAKE_OBJC_COMPILER_CUSTOM_CODE@
  54. @CMAKE_OBJC_SYSROOT_FLAG_CODE@
  55. @CMAKE_OBJC_OSX_DEPLOYMENT_TARGET_FLAG_CODE@
  56. set(CMAKE_OBJC_IMPLICIT_INCLUDE_DIRECTORIES "@CMAKE_OBJC_IMPLICIT_INCLUDE_DIRECTORIES@")
  57. set(CMAKE_OBJC_IMPLICIT_LINK_LIBRARIES "@CMAKE_OBJC_IMPLICIT_LINK_LIBRARIES@")
  58. set(CMAKE_OBJC_IMPLICIT_LINK_DIRECTORIES "@CMAKE_OBJC_IMPLICIT_LINK_DIRECTORIES@")
  59. set(CMAKE_OBJC_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "@CMAKE_OBJC_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES@")