summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge topic 'decay-language-version'Brad King2014-05-081-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 Kelly2014-05-071-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 Kelly2014-05-071-4/+3
| | |/ / | |/| |
* | | | Project: Refactor C compiler determination into multiple files.Stephen Kelly2014-05-079-0/+61
| | | |
* | | | CompilerId: Allow specifying a prefix for preprocessor defines.Stephen Kelly2014-05-0720-71/+71
| | | |
* | | | Project: Generate the CXX compiler Id test from multiple files.Stephen Kelly2014-05-0726-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 Kelly2014-04-162-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 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.