summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'minor-cleanups'Brad King2014-05-084-4/+4
|\ | | | | | | | | | | | | 47795421 Fix whitespace in docs. aa283b6b Features: Fix test for GNU 4.8.1. bbfd4cd4 Features: Include the language of the compiler in error messages.
| * Features: Include the language of the compiler in error messages.Stephen Kelly2014-05-074-4/+4
| |
* | Merge topic 'hp-cpp98-tests'Brad King2014-05-085-1/+58
|\ \ | | | | | | | | | | | | b0f277db HP aCC: record compiler flag for Ansi C++98 support for version 3.80 onwards
| * | HP aCC: record compiler flag for Ansi C++98 support for version 3.80 onwardsRolf Eike Beer2014-04-255-1/+58
| | | | | | | | | | | | | | | | | | Old versions of aCC need a special compiler flag to get full C++98 template support as e.g. CMake itself or the Complex and ComplexOneConfig tests need. The same versions need a special flag to get a proper C++ library, too.
* | | Merge topic 'decay-language-version'Brad King2014-05-0828-2/+107
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | cmTarget: Add CXX_STANDARD_REQUIRED to control decay.Stephen Kelly2014-05-0727-0/+105
| | |/ | |/|
| * | Tests: Fix name of cache variable.Stephen Kelly2014-05-071-2/+2
| | |
* | | Merge topic 'no-assert-missing-objlib'Brad King2014-05-074-0/+27
|\ \ \ | |/ / |/| | | | | | | | d648c476 cmTarget: Don't assert on object libraries for configure-time location.
| * | cmTarget: Don't assert on object libraries for configure-time location.Stephen Kelly2014-05-064-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit b8af2011 (cmTarget: Fix listing of source files at configure-time., 2014-04-13) refactored a GetObjectLibrariesCMP0026 method out of GetLanguages. In flight, a conditional use of a target if available was changed to an assert-available. This code is only used to read the LOCATION property at configure time, when the link information is incomplete, and not all targets are defined, so the assert is inappropriate, even though it can lead to incorrect information being generated. CMP0026 warns about the potentially incorrect information anyway.
* | | Merge topic 'CMAKE_CXX_KNOWN_FEATURES-global-property'Brad King2014-05-061-1/+2
|\ \ \ | | | | | | | | | | | | | | | | 3fdfa5d3 Features: Make CMAKE_CXX_KNOWN_FEATURES a property.
| * | | Features: Make CMAKE_CXX_KNOWN_FEATURES a property.Stephen Kelly2014-05-021-1/+2
| | | | | | | | | | | | | | | | | | | | As a 'built-in' variable it imposes a cost on all variable lookups and it is expected to be rarely used.
* | | | Merge topic 'dont-rewrite-moc-parameter-file'Brad King2014-05-062-25/+48
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | 17c31b8b Qt4: Extend the Qt4Targets test to cover dir and target moc parameters. 6a5bd7f0 Qt4: write moc parameter file only when content has changed
| * | | Qt4: Extend the Qt4Targets test to cover dir and target moc parameters.Stephen Kelly2014-05-062-25/+48
| | | |
* | | | Merge topic 'file-generate-if-different'Brad King2014-05-014-0/+34
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 42e1cd13 file(GENERATE): Only write the file if content is different.
| * | | | file(GENERATE): Only write the file if content is different.Stephen Kelly2014-04-304-0/+34
| |/ / / | | | | | | | | | | | | No policy is used to control this behavior for now.
* | | | Merge topic 'cxx98-features'Brad King2014-04-302-0/+19
|\ \ \ \ | |/ / / |/| | | | | | | | | | | a36b957f Features: Add cxx_template_template_parameters.
| * | | Features: Add cxx_template_template_parameters.Stephen Kelly2014-04-162-0/+19
| | |/ | |/| | | | | | | | | | Extend the existing feature infrastructure as needed to support both C++11 and C++98 features.
* | | Merge topic 'feature-absence-hard-error'Brad King2014-04-2112-8/+57
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 8d0b1cca Features: FATAL_ERROR on compilers with no recorded features. 447fbb3f Tests: Execute compile features tests unconditionally. 597bb72e Tests: Run RunCMake.target_compile_features unconditionally.
| * | | Features: FATAL_ERROR on compilers with no recorded features.Stephen Kelly2014-04-178-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | Users of the new target_compile_features command are expected to check the existence of the CMAKE_CXX_COMPILE_FEATURES variable before attempting to use it to require features.
| * | | Tests: Execute compile features tests unconditionally.Stephen Kelly2014-04-173-5/+19
| | | | | | | | | | | | | | | | Conditionally create a dummy test if there are no known features.
| * | | Tests: Run RunCMake.target_compile_features unconditionally.Stephen Kelly2014-04-161-3/+1
| |/ / | | | | | | | | | | | | It is so far testing only cases which are fatal regardless of recorded features.
* | | Merge topic 'ExternalData-missing-not-fatal'Brad King2014-04-2113-10/+67
|\ \ \ | | | | | | | | | | | | | | | | ccd29b9a ExternalData: Warn on missing file instead of failing
| * | | ExternalData: Warn on missing file instead of failingBrad King2014-04-1713-10/+67
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the primary source tree path named by a DATA{} reference does not exist, produce an AUTHOR_WARNING instead of a FATAL_ERROR. This is useful when writing a new DATA{} reference to a test reference output that has not been created yet. This way the developer can run the test, manually verify the output, and then copy it into place to provide the reference and eliminate the warning. If the named source tree path is expected to be a file but exists as a directory, we still need to produce a FATAL_ERROR.
* | | CMP0052: Make the warning message more informative.Stephen Kelly2014-04-172-0/+10
| | | | | | | | | | | | | | | Print the reason for the offending entry in the INTERFACE_INCLUDE_DIRECTORIES.
* | | CMP0052: Test that include dirs in install locations cause no warnings.Stephen Kelly2014-04-174-0/+14
|/ /
* | Merge topic 'cxx11-features'Brad King2014-04-1544-0/+462
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+7
| | |
| * | Features: Add cxx_long_long_type.Stephen Kelly2014-04-081-0/+5
| | |
| * | Features: Add cxx_func_identifier.Stephen Kelly2014-04-081-0/+6
| | |
| * | Features: Add cxx_local_type_template_args.Stephen Kelly2014-04-081-0/+21
| | |
| * | Features: Add cxx_extended_friend_declarations.Stephen Kelly2014-04-081-0/+25
| | |
| * | Features: Add cxx_enum_forward_declarations.Stephen Kelly2014-04-081-0/+8
| | |
| * | Features: Add cxx_default_function_template_args.Stephen Kelly2014-04-081-0/+12
| | |
| * | Features: Add cxx_right_angle_brackets.Stephen Kelly2014-04-081-0/+12
| | |
| * | Features: Add cxx_decltype_incomplete_return_types.Stephen Kelly2014-04-081-0/+14
| | |
| * | Features: Add cxx_sizeof_member.Stephen Kelly2014-04-081-0/+10
| | |
| * | Features: Add cxx_thread_local.Stephen Kelly2014-04-081-0/+2
| | |
| * | Features: Add cxx_inline_namespaces.Stephen Kelly2014-04-081-0/+26
| | |
| * | Features: Add cxx_variadic_macros.Stephen Kelly2014-04-081-0/+12
| | |
| * | Features: Add cxx_uniform_initialization.Stephen Kelly2014-04-081-0/+9
| | |
| * | Features: Add cxx_generalized_initializers.Stephen Kelly2014-04-081-0/+23
| | |
| * | Features: Add cxx_attributes.Stephen Kelly2014-04-081-0/+2
| | |
| * | Features: Add cxx_alignof.Stephen Kelly2014-04-081-0/+5
| | |
| * | Features: Add cxx_alignas.Stephen Kelly2014-04-081-0/+4
| | | | | | | | | | | | | | | | | | 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/+12
| | |
| * | Features: Add cxx_unrestricted_unions.Stephen Kelly2014-04-081-0/+11
| | |
| * | Features: Add cxx_unicode_literals.Stephen Kelly2014-04-081-0/+3
| | |
| * | Features: Add cxx_user_literals.Stephen Kelly2014-04-081-0/+7
| | |
| * | Features: Add cxx_alias_templates.Stephen Kelly2014-04-081-0/+11
| | |
| * | Features: Add cxx_rvalue_references.Stephen Kelly2014-04-081-0/+5
| | |