Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | Merge topic 'decay-language-version' | Brad King | 2014-05-08 | 1 | -4/+5 | |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 205215fb cmTarget: Add CXX_STANDARD_REQUIRED to control decay. 1df2116b Features: Decay language flag if requested is not available. c4f4dac2 Project: Fix exit-on-error with compile feature tests. 5bb7ce72 Project: Use nullary form of main for compile feature tests. 64254e7a Project: Remove extern from static string in feature tests. 0d9c99bf Help: Fix order of help entries. dc7639bd Tests: Fix name of cache variable. | |||||
| * | | | | | Features: Decay language flag if requested is not available. | Stephen Kelly | 2014-05-07 | 1 | -0/+2 | |
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the highest standard compile flags available if requested language version is too new. This supports use-cases like set(CMAKE_CXX_STANDARD 14) # Compiled with -std=c++11 with GNU 4.7, which has no -std=c++14 # or equivalent flag add_executable(main main.cpp) This can be used in combination with preprocessor defines which communicate the availability of certain language features for optional use. | |||||
| * | | | | Project: Fix exit-on-error with compile feature tests. | Stephen Kelly | 2014-05-07 | 1 | -4/+3 | |
| | |/ / | |/| | | ||||||
* | | | | Project: Refactor C compiler determination into multiple files. | Stephen Kelly | 2014-05-07 | 9 | -0/+61 | |
| | | | | ||||||
* | | | | CompilerId: Allow specifying a prefix for preprocessor defines. | Stephen Kelly | 2014-05-07 | 20 | -71/+71 | |
| | | | | ||||||
* | | | | Project: Generate the CXX compiler Id test from multiple files. | Stephen Kelly | 2014-05-07 | 26 | -0/+225 | |
|/ / / | | | | | | | | | | | | | | | | This will allow sharing of the logic of the order to test compilers in and the preprocessor macros used to do that and to determine the version components. | |||||
* | | | Features: Add cxx_template_template_parameters. | Stephen Kelly | 2014-04-16 | 2 | -0/+5 | |
|/ / | | | | | | | | | Extend the existing feature infrastructure as needed to support both C++11 and C++98 features. | |||||
* | | 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. |