summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'autogen-no-hh'Brad King2019-12-193-16/+0
|\ | | | | | | | | | | | | 7fa7f55230 Autogen: Revert processing of .hh files for compatibility Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4146
| * Autogen: Revert processing of .hh files for compatibilityBrad King2019-12-183-16/+0
| | | | | | | | | | | | | | | | | | | | Since commit 4a9154537c (Autogen: Use cmake::IsHeader/SourceExtension for file type detection, 2019-07-02, v3.16.0-rc1~470^2~4) we process `.hh` files with `AUTOMOC`. However, this change can break existing projects that do not expect the behavior. Revert it for now. It can be restored later via a policy. Fixes: #20101
* | Merge topic 'test-resource-spec-init-lists'Brad King2019-12-191-37/+36
|\ \ | | | | | | | | | | | | | | | | | | | | | e8dbe4bba1 Tests: Fix testCTestResourceSpec struct initialization for some compilers Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Michael Dickens <michael.dickens@ettus.com> Merge-request: !4141
| * | Tests: Fix testCTestResourceSpec struct initialization for some compilersMichael Dickens2019-12-181-37/+36
| |/ | | | | | | | | | | | | | | Some compilers do not like the nested `{{{}}}` member initialization syntax, so use just `{}`. GCC 4.8 warns about the latter, so add a suppression. Fixes: #20097
| * Merge topic 'unity-object-libraries' into release-3.16Brad King2019-12-093-0/+20
| |\ | | | | | | | | | | | | | | | | | | | | | | | | fa93b4a59b Unity: Proper handling of object libraries 5ae07e7166 Unity: Generic source file handling for all generators f742f7ac1f Unity/PCH: Skip more target types when adding automatic sources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4110
| * \ Merge topic 'pch-reuse-importlib' into release-3.16Brad King2019-12-093-0/+32
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 93becd61d1 PCH: Use the target's PREFIX for building the pdb file name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4114
* | \ \ Merge topic 'add-header-cmext-algorithm'Brad King2019-12-182-0/+118
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f7d12609f0 Refactoring: use append functions from cmext/algorithm a38d04c076 Refactoring: introduce header cmext/algorithm with append functions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4131
| * | | | Refactoring: introduce header cmext/algorithm with append functionsMarc Chevrier2019-12-172-0/+118
| | | | |
* | | | | Merge topic 'FindCUDAToolkit-module'Brad King2019-12-178-4/+104
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d484a3c4d8 FindCUDAToolkit: correct searches for Toolkit components e2a5d8374f FindCUDAToolkit: Improve usage, library set, and tests 29560bf07b FindCUDAToolkit: Import targets for toolkit libraries 2c0ff263b4 FindCUDAToolkit: Add module to find the CUDA Toolkit 12d324e55d CUDA: Persist SIZEOF_VOID_P and PLATFORM_ABI Acked-by: Kitware Robot <kwrobot@kitware.com> Rejected-by: Brad King <brad.king@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !4093
| * | | | | FindCUDAToolkit: correct searches for Toolkit componentsRobert Maynard2019-12-162-19/+2
| | | | | |
| * | | | | FindCUDAToolkit: Improve usage, library set, and testsRobert Maynard2019-12-168-4/+121
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Refined the initial design of FindCUDAToolkit and improve it by adding more library support, more toolkit information and tests.
* | | | | Merge topic 'fix-vs-winrt-by-default'Brad King2019-12-173-0/+86
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 557ea4614e VS: Change CMAKE_VS_WINRT_BY_DEFAULT to not implicitly enable WinRT 7bcef355bf Vs: Add test for VS_WINRT_BY_DEFAULT Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4127
| * | | | VS: Change CMAKE_VS_WINRT_BY_DEFAULT to not implicitly enable WinRTPetr Polezhaev2019-12-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original behaviour would unconditionally enable WinRT for all projects so source file flag generation code can acknowledge WinRT being present and disable it for C language source files. An unintentional result of that approach is that WinRT is enabled for ALL projects, including C++ projects/source files with no way to disable it Instead use `CMAKE_VS_WINRT_BY_DEFAULT` as a hint that the platform is WinRT-by-default and set global `CompileAsWinRT` flag to `false` unless it was explicitly requested by either `WINRT_COMPONENT` option or `/ZW` compilation option - similar to what Windows Phone/Windows Store platform logic does In case WinRT compilation is enabled for a project by either of aforementioned methods, C language source file override logic will still kick in and disable CompileAsWinRT for C source files Fixes: #20063
| * | | | Vs: Add test for VS_WINRT_BY_DEFAULTPetr Polezhaev2019-12-163-0/+86
| | | | |
* | | | | Merge topic 'ninja-multi'Brad King2019-12-1695-57/+1806
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8c062f9d99 Help: Add documentation and release notes for multi-config Ninja e0478cc646 Tests: Add test for Multi-Configuration Ninja generator 5a8a9f7229 Ninja: Add multi-config variant 3bc63e99e4 Refactor: Prepare Ninja generator for multi-config Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4086
| * | | | | Tests: Add test for Multi-Configuration Ninja generatorKyle Edwards2019-12-1373-6/+1717
| | | | | |
| * | | | | Ninja: Add multi-config variantKyle Edwards2019-12-1324-51/+89
| |/ / / / | | | | | | | | | | | | | | | Co-Authored-by: vector-of-bool <vectorofbool@gmail.com>
* | | | | Merge topic 'test-vtk'Brad King2019-12-161-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 59e2e72159 Tests/Contracts: Update VTK repository URL Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4138
| * | | | | Tests/Contracts: Update VTK repository URLBrad King2019-12-141-1/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | The vtk.org/vtk.git repository has long been superseded by the repository on gitlab.kitware.com. The former is no longer available.
* | | | | Merge topic 'pch-force-include'Brad King2019-12-161-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | c5c218fa0d PCH: Append pch header file to list of forced include files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4135
| * | | | PCH: Append pch header file to list of forced include filesCristian Adam2019-12-131-1/+1
| | | | | | | | | | | | | | | | | | | | Fixes: #20088
* | | | | Merge topic 'function-var-current'Kyle Edwards2019-12-126-0/+128
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 24fdd51f45 Refactor: Replace CMAKE_CURRENT_LIST_DIR with CMAKE_CURRENT_FUNCTION_LIST_DIR 90e3e2a777 cmFunctionCommand: Introduce `CMAKE_CURRENT_FUNCTION*` variables dd54290dab Refactor: Modernize `function` command Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !4000
| * | | | | cmFunctionCommand: Introduce `CMAKE_CURRENT_FUNCTION*` variablesAlex Turbov2019-12-106-0/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `CMAKE_CURRENT_FUNCTION` Can be used for diagnostic or debugging messages like the `__PRETTY_FUNCTION__` macro of GCC. `CMAKE_CURRENT_FUNCTION_LIST_DIR` Eliminates the necessity of the additional "global" variables inside a module used to access additional "resource" files from functions defined in the module. ...
* | | | | | Merge topic 'link-options-propagation'Brad King2019-12-121-3/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | af9d4f24ae Link properties: must be transitive over private dependency on static library Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4130
| * | | | | | Link properties: must be transitive over private dependency on static libraryMarc Chevrier2019-12-121-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure transitivity over multiple static libraries. Fixes: bbba701899 (Link properties: must be transitive over private dependency on static library, 2019-12-06)
* | | | | | | Merge topic 'add_cuda_meta_compiler_features'Brad King2019-12-1229-17/+222
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2467a2b318 CUDA: Add cuda meta-features (e.g. ``cuda_std_11``) support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3992
| * | | | | | | CUDA: Add cuda meta-features (e.g. ``cuda_std_11``) supportRobert Maynard2019-12-1029-17/+222
| | | | | | | |
* | | | | | | | Merge topic 'ctest-configuration-type'Kyle Edwards2019-12-114-0/+30
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e6f758be6d ctest: Populate CTEST_CONFIGURATION_TYPE from the -C command line when set Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4109
| * | | | | | | | ctest: Populate CTEST_CONFIGURATION_TYPE from the -C command line when setJulien Jomier2019-12-094-0/+30
| | | | | | | | |
* | | | | | | | | Merge topic 'cpack-use-CPACK_PACKAGE_HOMEPAGE_URL'Kyle Edwards2019-12-115-0/+53
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3476dbe6d7 CPack: CMAKE_PROJECT_HOMEPAGE_URL -> CPACK_PACKAGE_HOMEPAGE_URL Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4024
| * | | | | | | | CPack: CMAKE_PROJECT_HOMEPAGE_URL -> CPACK_PACKAGE_HOMEPAGE_URLAlex Turbov2019-12-095-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At CPack running time the `CMAKE_PROJECT_HOMEPAGE_URL` variable is not set. Internal CPack modules (e.g. CPackDEB, CPackRPM, CPackFreeBSD) should use `CPACK_PACKAGE_HOMEPAGE_URL` instead, which is available after inclusion of `CPack.cmake` into `CMakeLists.txt`. Closes: #19607
* | | | | | | | | Merge topic 'link-options-propagation'Brad King2019-12-0919-0/+126
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bbba701899 Link properties: must be transitive over private dependency on static library Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4120
| * | | | | | | | Link properties: must be transitive over private dependency on static libraryMarc Chevrier2019-12-0919-0/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #20022
* | | | | | | | | Merge topic 'foreach-ZIP_LISTS'Brad King2019-12-0929-0/+201
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d30468a2f6 foreach: Allow multiple iteration variables for `ZIP_LIST` mode f3e51a2b1d foreach: Introduce `IN ZIP_LISTS` mode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4021
| * | | | | | | | | foreach: Allow multiple iteration variables for `ZIP_LIST` modeAlex Turbov2019-12-0715-0/+81
| | | | | | | | | |
| * | | | | | | | | foreach: Introduce `IN ZIP_LISTS` modeAlex Turbov2019-12-0115-0/+120
| | | | | | | | | |
* | | | | | | | | | Merge topic 'compiler-launcher-env'Brad King2019-12-0925-12/+49
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6f48c59257 launcher: support setting a compiler launcher through the environment Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4095
| * | | | | | | | | | launcher: support setting a compiler launcher through the environmentBen Boeckel2019-12-0525-12/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes it much easier to use a launcher for all CMake projects in an environment rather than having to remember to pass the setting to every CMake build.
* | | | | | | | | | | Merge topic 'unity-object-libraries'Brad King2019-12-093-0/+20
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fc99130752 Merge branch 'backport-unity-object-libraries' into unity-object-libraries fa93b4a59b Unity: Proper handling of object libraries 5ae07e7166 Unity: Generic source file handling for all generators f742f7ac1f Unity/PCH: Skip more target types when adding automatic sources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4110
| * \ \ \ \ \ \ \ \ \ \ Merge branch 'backport-unity-object-libraries' into unity-object-librariesBrad King2019-12-083-0/+20
| |\ \ \ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / / / / | |/| | | | | | | | | / | | | |_|_|_|_|_|_|_|/ | | |/| | | | | | | |
| | * | | | | | | | | Unity: Proper handling of object librariesCristian Adam2019-12-073-0/+20
| | | |_|_|_|_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #20051
* | | | | | | | | | Merge topic 'pch-reuse-importlib'Brad King2019-12-093-0/+32
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 93becd61d1 PCH: Use the target's PREFIX for building the pdb file name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4114
| * | | | | | | | | PCH: Use the target's PREFIX for building the pdb file nameCristian Adam2019-12-083-0/+32
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also copy the REUSE_FROM pdb file only if the file is newer than the existing one. Fixes: #19731 Fixes: #20068
* | | | | | | | | FindLibArchive: create a targetT.J. Corona2019-12-054-0/+32
| |/ / / / / / / |/| | | | | | |
* | | | | | | | Merge topic 'cmext-memory'Brad King2019-12-042-0/+66
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fc3b4caa2e Memory management: cast functions for managed pointers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4064
| * | | | | | | Memory management: cast functions for managed pointersMarc Chevrier2019-11-272-0/+66
| | |/ / / / / | |/| | | | |
* | | | | | | Merge topic 'ctest-spec-file-version-test'Kyle Edwards2019-11-282-0/+5
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | / | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | 59df85194e CTest Resource Allocation: Add test for spec file with no version Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4092
| * | | | | CTest Resource Allocation: Add test for spec file with no versionKyle Edwards2019-11-262-0/+5
| |/ / / /
* | | | | Merge topic 'ctest-resource-fixes'Brad King2019-11-2644-2/+214
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a033bafbe0 Help: Clarify how tests are run if no resource spec file is specified a64ba0235f CTest: Clarify that resource requirements can be split f9f294f5fa CTest: Add version field to resource spec file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4080
| * | | | CTest: Clarify that resource requirements can be splitKyle Edwards2019-11-259-2/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a note to the documentation to clarify this, and add test cases to ensure it. Fixes: #19987