summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_CXX_KNOWN_FEATURES.rst
Commit message (Collapse)AuthorAgeFilesLines
* Features: Make CMAKE_CXX_KNOWN_FEATURES a property.Stephen Kelly2014-05-021-241/+0
| | | | | As a 'built-in' variable it imposes a cost on all variable lookups and it is expected to be rarely used.
* Features: Add cxx_template_template_parameters.Stephen Kelly2014-04-161-0/+3
| | | | | Extend the existing feature infrastructure as needed to support both C++11 and C++98 features.
* Features: Add cxx_defaulted_move_initializers.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_long_long_type.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_func_identifier.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_local_type_template_args.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_extended_friend_declarations.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_enum_forward_declarations.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_default_function_template_args.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_right_angle_brackets.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_decltype_incomplete_return_types.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_sizeof_member.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_thread_local.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_inline_namespaces.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_variadic_macros.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_uniform_initialization.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_generalized_initializers.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_attributes.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_alignof.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_alignas.Stephen Kelly2014-04-081-0/+5
| | | | | | cxx_alignof will be a separate feature known to CMake, because both can be implemented with separate backward compatibility versions.
* Features: Add cxx_extern_templates.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_unrestricted_unions.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_unicode_literals.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_user_literals.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_alias_templates.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_rvalue_references.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_reference_qualified_functions.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_raw_string_literals.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_range_for.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_nullptr.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_noexcept.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_nonstatic_member_init.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_lambdas.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_inheriting_constructors.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_explicit_conversions.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_deleted_functions.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_defaulted_functions.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_decltype.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_strong_enums.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_auto_function.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_override.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_final.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_static_assert.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_constexpr.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_variadic_templates.Stephen Kelly2014-04-081-0/+5
| | | | | | | Expect cxx_variadic_templates to implement N2555. N2555 is essentially a bugfix and predates most compiler releases which aimed to experimentally support variadic templates.
* Features: Add cxx_delegating_constructors.Stephen Kelly2014-04-081-0/+5
|
* Add target_compile_features command.Stephen Kelly2014-04-071-0/+3
| | | | | | | | | | | This can be used to set the compiler features required by particular targets. An error is issued at CMake time if the compiler does not support the required feature. If a language dialect flag is required by the features used, that will be added automatically. Base the target_compile_features command on cmTargetPropCommandBase. This gives us 'free' handling of IMPORTED, ALIAS, INTERFACE, non-compilable and missing targets.
* Features: Add cxx_auto_type.Stephen Kelly2014-04-071-0/+7
| | | | | | | | | | | | | | Record the availability of this feature for GNU 4.8 on (UNIX AND NOT APPLE) only. In the future, availability can be recorded for earlier GNU, for other platforms and for other compilers. Initially the affected configurations are as restricted as possible to allow for easy testing while extending the features vector in only one dimension. The error message when using the set_property API directly is not very good, but follow up commits will provide origin debugging of the property and a target_compile_features command which will provide a configure-time backtrace when possible.
* project: Add infrastructure for recording CXX compiler featuresStephen Kelly2014-04-071-0/+8
Add a feature test using the compiler macros and the preprocessor to determine available features. Add a CMAKE_CXX_COMPILE_FEATURES variable which contains all features known to the loaded compiler, and a CMAKE_CXX_KNOWN_FEATURES variable containing all features known to CMake. Add language standard specific variables for internal use to determine the standard-specific compile flags to use. This will be extended to other languages in the future. Follow-up commits will add features which will be recorded by the feature test.