Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge topic 'cxx11-features' | Brad King | 2014-04-15 | 1 | -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 Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_long_long_type. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_func_identifier. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_local_type_template_args. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_extended_friend_declarations. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_enum_forward_declarations. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_default_function_template_args. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_right_angle_brackets. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_decltype_incomplete_return_types. | Stephen Kelly | 2014-04-08 | 1 | -2/+3 |
| | | |||||
| * | Features: Add cxx_sizeof_member. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_thread_local. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_inline_namespaces. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_variadic_macros. | Stephen Kelly | 2014-04-08 | 1 | -0/+2 |
| | | |||||
| * | Features: Add cxx_uniform_initialization. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_generalized_initializers. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_attributes. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_alignof. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_alignas. | Stephen Kelly | 2014-04-08 | 1 | -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 Kelly | 2014-04-08 | 1 | -0/+2 |
| | | |||||
| * | Features: Add cxx_unrestricted_unions. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_unicode_literals. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_user_literals. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_alias_templates. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_rvalue_references. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_reference_qualified_functions. | Stephen Kelly | 2014-04-08 | 1 | -0/+3 |
| | | |||||
| * | Features: Add cxx_raw_string_literals. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_range_for. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_nullptr. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_noexcept. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_nonstatic_member_init. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_lambdas. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_inheriting_constructors. | Stephen Kelly | 2014-04-08 | 1 | -0/+2 |
| | | |||||
| * | Features: Add cxx_explicit_conversions. | Stephen Kelly | 2014-04-08 | 1 | -0/+3 |
| | | |||||
| * | Features: Add cxx_deleted_functions. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_defaulted_functions. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_decltype. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_strong_enums. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_auto_function. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_override. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_final. | Stephen Kelly | 2014-04-08 | 1 | -0/+1 |
| | | |||||
| * | Features: Add cxx_static_assert. | Stephen Kelly | 2014-04-08 | 1 | -0/+3 |
| | | |||||
| * | Features: Add cxx_constexpr. | Stephen Kelly | 2014-04-08 | 1 | -0/+3 |
| | | |||||
| * | Features: Add cxx_variadic_templates. | Stephen Kelly | 2014-04-08 | 1 | -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 Kelly | 2014-04-08 | 1 | -0/+3 |
| | | |||||
* | | Merge topic 'target_compile_features' | Brad King | 2014-04-15 | 8 | -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 Kelly | 2014-04-07 | 2 | -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 features | Stephen Kelly | 2014-04-07 | 4 | -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 Kelly | 2014-04-07 | 2 | -0/+26 |
| | | | | | | | | | | These are compiler-specific, compiler version specific, extension specific and standard version specific. | ||||
| * | Don't load Clang-CXX from AppleClang-CXX. | Stephen Kelly | 2014-04-07 | 2 | -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. |