CMakeCXXCompiler.cmake 5.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. set(CMAKE_CXX_COMPILER "D:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe")
  2. set(CMAKE_CXX_COMPILER_ARG1 "")
  3. set(CMAKE_CXX_COMPILER_ID "MSVC")
  4. set(CMAKE_CXX_COMPILER_VERSION "19.29.30148.0")
  5. set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
  6. set(CMAKE_CXX_COMPILER_WRAPPER "")
  7. set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14")
  8. set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20")
  9. set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
  10. set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
  11. set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
  12. set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
  13. set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20")
  14. set(CMAKE_CXX23_COMPILE_FEATURES "")
  15. set(CMAKE_CXX_PLATFORM_ID "Windows")
  16. set(CMAKE_CXX_SIMULATE_ID "")
  17. set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "")
  18. set(CMAKE_CXX_SIMULATE_VERSION "")
  19. set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID x64)
  20. set(MSVC_CXX_ARCHITECTURE_ID x64)
  21. set(CMAKE_AR "D:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/lib.exe")
  22. set(CMAKE_CXX_COMPILER_AR "")
  23. set(CMAKE_RANLIB ":")
  24. set(CMAKE_CXX_COMPILER_RANLIB "")
  25. set(CMAKE_LINKER "D:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/link.exe")
  26. set(CMAKE_MT "D:/Windows Kits/10/bin/10.0.19041.0/x64/mt.exe")
  27. set(CMAKE_COMPILER_IS_GNUCXX )
  28. set(CMAKE_CXX_COMPILER_LOADED 1)
  29. set(CMAKE_CXX_COMPILER_WORKS TRUE)
  30. set(CMAKE_CXX_ABI_COMPILED TRUE)
  31. set(CMAKE_COMPILER_IS_MINGW )
  32. set(CMAKE_COMPILER_IS_CYGWIN )
  33. if(CMAKE_COMPILER_IS_CYGWIN)
  34. set(CYGWIN 1)
  35. set(UNIX 1)
  36. endif()
  37. set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
  38. if(CMAKE_COMPILER_IS_MINGW)
  39. set(MINGW 1)
  40. endif()
  41. set(CMAKE_CXX_COMPILER_ID_RUN 1)
  42. set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP)
  43. set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
  44. foreach (lang C OBJC OBJCXX)
  45. if (CMAKE_${lang}_COMPILER_ID_RUN)
  46. foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS)
  47. list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension})
  48. endforeach()
  49. endif()
  50. endforeach()
  51. set(CMAKE_CXX_LINKER_PREFERENCE 30)
  52. set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
  53. # Save compiler ABI information.
  54. set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
  55. set(CMAKE_CXX_COMPILER_ABI "")
  56. set(CMAKE_CXX_BYTE_ORDER "LITTLE_ENDIAN")
  57. set(CMAKE_CXX_LIBRARY_ARCHITECTURE "")
  58. if(CMAKE_CXX_SIZEOF_DATA_PTR)
  59. set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
  60. endif()
  61. if(CMAKE_CXX_COMPILER_ABI)
  62. set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
  63. endif()
  64. if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
  65. set(CMAKE_LIBRARY_ARCHITECTURE "")
  66. endif()
  67. set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "注意: 包含文件: ")
  68. if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
  69. set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
  70. endif()
  71. set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "")
  72. set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "")
  73. set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "")
  74. set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")