summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'cxx11-features'Brad King2014-04-151-0/+69
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 60c0d2dd Features: Add cxx_defaulted_move_initializers. c4e67235 Features: Add cxx_long_long_type. dcaafada Features: Add cxx_func_identifier. 251a1f02 Features: Add cxx_local_type_template_args. 53fe7773 Features: Add cxx_extended_friend_declarations. 16603f7c Features: Add cxx_enum_forward_declarations. adf22f61 Features: Add cxx_default_function_template_args. 7b3e8a05 Features: Add cxx_right_angle_brackets. 9a49fd21 Features: Add cxx_decltype_incomplete_return_types. 1889045c Features: Add cxx_sizeof_member. ab455eba Features: Add cxx_thread_local. 300ce248 Features: Add cxx_inline_namespaces. f9d04a96 Features: Add cxx_variadic_macros. 3d76656f Features: Add cxx_uniform_initialization. e74b216c Features: Add cxx_generalized_initializers. ff80c3b4 Features: Add cxx_attributes. ...
| * Features: Add cxx_defaulted_move_initializers.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_long_long_type.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_func_identifier.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_local_type_template_args.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_extended_friend_declarations.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_enum_forward_declarations.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_default_function_template_args.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_right_angle_brackets.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_decltype_incomplete_return_types.Stephen Kelly2014-04-081-2/+3
| |
| * Features: Add cxx_sizeof_member.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_thread_local.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_inline_namespaces.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_variadic_macros.Stephen Kelly2014-04-081-0/+2
| |
| * Features: Add cxx_uniform_initialization.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_generalized_initializers.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_attributes.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_alignof.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_alignas.Stephen Kelly2014-04-081-0/+1
| | | | | | | | | | | | 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/+2
| |
| * Features: Add cxx_unrestricted_unions.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_unicode_literals.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_user_literals.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_alias_templates.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_rvalue_references.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_reference_qualified_functions.Stephen Kelly2014-04-081-0/+3
| |
| * Features: Add cxx_raw_string_literals.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_range_for.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_nullptr.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_noexcept.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_nonstatic_member_init.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_lambdas.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_inheriting_constructors.Stephen Kelly2014-04-081-0/+2
| |
| * Features: Add cxx_explicit_conversions.Stephen Kelly2014-04-081-0/+3
| |
| * Features: Add cxx_deleted_functions.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_defaulted_functions.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_decltype.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_strong_enums.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_auto_function.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_override.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_final.Stephen Kelly2014-04-081-0/+1
| |
| * Features: Add cxx_static_assert.Stephen Kelly2014-04-081-0/+3
| |
| * Features: Add cxx_constexpr.Stephen Kelly2014-04-081-0/+3
| |
| * Features: Add cxx_variadic_templates.Stephen Kelly2014-04-081-0/+13
| | | | | | | | | | | | | | 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/+3
| |
* | Merge topic 'target_compile_features'Brad King2014-04-158-1/+163
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9eaf3755 Export: Populate INTERFACE_COMPILE_FEATURES property. 8ed59fc2 Add target_compile_features command. 4e6ca504 cmTargetPropCommandBase: Change the interface to return bool. 5412dede cmTarget: Transitively evaluate compiler features. baff4434 cmTarget: Allow populating COMPILE_FEATURES using generator expressions. f97bf437 Features: Add cxx_auto_type. 03355d6b cmTarget: Add COMPILE_FEATURES target property. faeddf64 project: Add infrastructure for recording CXX compiler features 913394af cmTarget: Add CXX_STANDARD and CXX_EXTENSION target properties. 8238a6cd Add some COMPILE_OPTIONS for specifying C++ dialect. 892243fc Tests: Require CMake 3.0 for the SystemInformation test. 59b5fdd3 Don't load Clang-CXX from AppleClang-CXX.
| * Features: Add cxx_auto_type.Stephen Kelly2014-04-072-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-074-0/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Add some COMPILE_OPTIONS for specifying C++ dialect.Stephen Kelly2014-04-072-0/+26
| | | | | | | | | | These are compiler-specific, compiler version specific, extension specific and standard version specific.
| * Don't load Clang-CXX from AppleClang-CXX.Stephen Kelly2014-04-072-1/+11
| | | | | | | | | | The Clang-CXX module is going to get version-specific checks, and the version system for AppleClang is not the same as Clang.