CMakeCXXCompiler.cmake
Go to the documentation of this file.
1 set(CMAKE_CXX_COMPILER "/usr/bin/c++")
2 set(CMAKE_CXX_COMPILER_ARG1 "")
3 set(CMAKE_CXX_COMPILER_ID "GNU")
4 set(CMAKE_CXX_COMPILER_VERSION "11.3.1")
5 set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
6 set(CMAKE_CXX_COMPILER_WRAPPER "")
7 set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "17")
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;cxx_std_23")
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 "cxx_std_23")
15 
16 set(CMAKE_CXX_PLATFORM_ID "Linux")
17 set(CMAKE_CXX_SIMULATE_ID "")
18 set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "")
19 set(CMAKE_CXX_SIMULATE_VERSION "")
20 
21 
22 
23 
24 set(CMAKE_AR "/usr/bin/ar")
25 set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar")
26 set(CMAKE_RANLIB "/usr/bin/ranlib")
27 set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib")
28 set(CMAKE_LINKER "/usr/bin/ld")
29 set(CMAKE_MT "")
30 set(CMAKE_COMPILER_IS_GNUCXX 1)
31 set(CMAKE_CXX_COMPILER_LOADED 1)
32 set(CMAKE_CXX_COMPILER_WORKS TRUE)
33 set(CMAKE_CXX_ABI_COMPILED TRUE)
34 set(CMAKE_COMPILER_IS_MINGW )
35 set(CMAKE_COMPILER_IS_CYGWIN )
36 if(CMAKE_COMPILER_IS_CYGWIN)
37  set(CYGWIN 1)
38  set(UNIX 1)
39 endif()
40 
41 set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
42 
43 if(CMAKE_COMPILER_IS_MINGW)
44  set(MINGW 1)
45 endif()
46 set(CMAKE_CXX_COMPILER_ID_RUN 1)
47 set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm)
48 set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
49 
50 foreach (lang C OBJC OBJCXX)
51  if (CMAKE_${lang}_COMPILER_ID_RUN)
52  foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS)
53  list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension})
54  endforeach()
55  endif()
56 endforeach()
57 
58 set(CMAKE_CXX_LINKER_PREFERENCE 30)
59 set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
60 
61 # Save compiler ABI information.
62 set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
63 set(CMAKE_CXX_COMPILER_ABI "ELF")
64 set(CMAKE_CXX_BYTE_ORDER "LITTLE_ENDIAN")
65 set(CMAKE_CXX_LIBRARY_ARCHITECTURE "")
66 
67 if(CMAKE_CXX_SIZEOF_DATA_PTR)
68  set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
69 endif()
70 
71 if(CMAKE_CXX_COMPILER_ABI)
72  set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
73 endif()
74 
75 if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
76  set(CMAKE_LIBRARY_ARCHITECTURE "")
77 endif()
78 
79 set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
80 if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
81  set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
82 endif()
83 
84 
85 
86 
87 
88 set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/usr/include/c++/11;/usr/include/c++/11/x86_64-redhat-linux;/usr/include/c++/11/backward;/usr/lib/gcc/x86_64-redhat-linux/11/include;/usr/local/include;/usr/include")
89 set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc")
90 set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-redhat-linux/11;/usr/lib64;/lib64;/usr/lib")
91 set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
lang