summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Genex: Add $<LINK_LANGUAGE:...> and $<LINK_LANG_AND_ID:...>Marc Chevrier2020-02-26170-8/+1156
| | | | | | This MR may help to solve issues #19757 and #18008 Fixes: #19965
* Merge topic 'CPackRPM-trans-scripts'Brad King2020-02-262-2/+18
|\ | | | | | | | | | | | | c0534c4a68 CPackRPM: Add PRE_/POST_TRANS scripts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4387
| * CPackRPM: Add PRE_/POST_TRANS scriptsSarang Joshi2020-02-242-2/+18
| | | | | | | | | | | | Add variables for PRE_TRANS and POST_TRANS scripts. Fixes: #18917
* | Merge topic 'RunCMake-test-lang'Brad King2020-02-261-0/+3
|\ \ | | | | | | | | | | | | | | | | | | 95dbcf0598 Tests: fix RunCMake.Make test when run on systems with non-english locale Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4389
| * | Tests: fix RunCMake.Make test when run on systems with non-english localeRolf Eike Beer2020-02-261-0/+3
| | | | | | | | | | | | | | | | | | Set `LANG=C` in the environment so the output of `make` is predictable. Fixes: #19689
* | | Merge topic 'ninja-multi-fix-macos-failures'Brad King2020-02-262-3/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | cc4e304800 Tests: Fix CFBundleTest for Ninja Multi-Config bcf4da52d8 Tests: Fix CustComDepend test for Ninja Multi-Config Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4396
| * | | Tests: Fix CFBundleTest for Ninja Multi-ConfigKyle Edwards2020-02-251-1/+1
| | | |
| * | | Tests: Fix CustComDepend test for Ninja Multi-ConfigKyle Edwards2020-02-251-2/+2
| | | |
* | | | Merge topic 'swig-fortran'Marc Chevrier2020-02-254-0/+118
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a1909e26ac UseSWIG: Enable SWIG Fortran target language Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4380
| * | | | UseSWIG: Enable SWIG Fortran target languageSeth R Johnson2020-02-244-0/+118
| | | | |
* | | | | Merge topic 'ctest-failure-error-reporting'Brad King2020-02-253-3/+37
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | a5be3916ee CTest: Provide more detailed information on resource allocation error f0df3ed5b9 Refactor: Provide more detailed error information from TryAllocateResources() f1c34443b7 CTest: Improve error reporting with bad working directory for tests 1dec359422 Refactor: Require detail when calling cmCTestRunTest::StartFailure() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4390
| * | | CTest: Provide more detailed information on resource allocation errorKyle Edwards2020-02-243-3/+37
| |/ /
| * | Merge topic 'ninja-multi-framework-dependency-autogen-fix' into release-3.17Brad King2020-02-182-0/+27
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 7abc3d61ac Ninja Multi-Config: Fix issue with framework dependencies and Autogen Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4363
* | | | string: Add new HEX sub-commandKyle Edwards2020-02-198-0/+36
| |_|/ |/| |
* | | Merge topic 'deprecate-policy-old'Brad King2020-02-181-0/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | c78ae16d81 Add deprecation warnings for policies CMP0071 and below Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4369
| * | | Add deprecation warnings for policies CMP0071 and belowBrad King2020-02-171-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The OLD behaviors of all policies are deprecated, but only by documentation. Add an explicit deprecation diagnostic for policies introduced in CMake 3.10 and below to encourage projects to port away from setting policies to OLD.
* | | | Merge topic 'ninja-multi-framework-dependency-autogen-fix'Brad King2020-02-182-0/+27
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 665c8fde8b Merge branch 'backport-ninja-multi-framework-dependency-autogen-fix' into ninja-multi-framework-dependency-autogen-fix 7abc3d61ac Ninja Multi-Config: Fix issue with framework dependencies and Autogen Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4363
| * | | Merge branch 'backport-ninja-multi-framework-dependency-autogen-fix' into ↵Kyle Edwards2020-02-172-0/+27
| |\ \ \ | | | |/ | | |/| | | | | ninja-multi-framework-dependency-autogen-fix
| | * | Ninja Multi-Config: Fix issue with framework dependencies and AutogenKyle Edwards2020-02-172-0/+27
| | | | | | | | | | | | | | | | Fixes: #20345
* | | | Merge topic 'git-config-with-spaces'Brad King2020-02-174-12/+27
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | ef3194a6f8 ExternalProject: Quote each git --config option to handle spaces 40d1d29cfa Tests: Add missing ExternalProject smoke tests afc8956765 Tests: Fix test_clean target missing some test directories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4364
| * | | ExternalProject: Quote each git --config option to handle spacesCraig Scott2020-02-151-1/+3
| | | | | | | | | | | | Fixes: #20354
| * | | Tests: Add missing ExternalProject smoke testsCraig Scott2020-02-151-0/+8
| | | |
| * | | Tests: Fix test_clean target missing some test directoriesCraig Scott2020-02-153-11/+16
| | |/ | |/|
| * | Merge topic 'ninja-multi-default-configs-fix' into release-3.17Brad King2020-02-123-0/+45
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 46c836644d Ninja Multi-Config: Fix issue with "all" in CMAKE_NMC_DEFAULT_CONFIGS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4349
| * \ \ Merge topic 'file-CONFIGURE_DEPENDS-verify-CMP0009' into release-3.17Brad King2020-02-125-2/+30
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 818ec34bdd file: GLOB_RECURSE VerifyGlobs.cmake should have CMP0009 set to new b620dc566d file: Fix GLOB_RECURSE LIST_DIRECTORIES documentation regarding CMP0009 715f90bdd9 Tests: Perform minor cleanups in RunCMake.file test Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !4342
| * \ \ \ Merge topic 'install-default-fix' into release-3.17Brad King2020-02-126-12/+12
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9442ae5083 install: Fix regression when using default destinations Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4340
* | \ \ \ \ Merge topic 'makefiles-deep-configure'Brad King2020-02-173-7/+8
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | e46e3442fd Makefiles: Re-run CMake if file configured in subdirectory is missing Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4359
| * | | | | Makefiles: Re-run CMake if file configured in subdirectory is missingHugh Sorby2020-02-143-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add files configured by all subdirectories to `CMAKE_MAKEFILE_PRODUCTS` rather than just those from the top level. Fixes: #19719
* | | | | | Merge topic 'ninja-multi-default-configs-fix'Brad King2020-02-123-0/+45
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 46c836644d Ninja Multi-Config: Fix issue with "all" in CMAKE_NMC_DEFAULT_CONFIGS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4349
| * | | | | Ninja Multi-Config: Fix issue with "all" in CMAKE_NMC_DEFAULT_CONFIGSKyle Edwards2020-02-113-0/+45
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this fix, CMAKE_NMC_DEFAULT_CONFIGS would inherit "all" from the union of CMAKE_NMC_DEFAULT_BUILD_FILE_CONFIG and CMAKE_NMC_CROSS_CONFIGS. This is inconsistent with the behavior of the "all" target signifying CMAKE_NMC_CROSS_CONFIGS. Update "all" in CMAKE_NMC_DEFAULT_CONFIGS to inherit only from CMAKE_NMC_CROSS_CONFIGS.
| * | | | Merge topic 'FindPython-reduce-resources-comsumption' into release-3.17Brad King2020-02-111-0/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3dab4682f6 FindPython: reduces consumption of resources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4338
| * \ \ \ \ Merge topic 'swift-no-sdk-include' into release-3.17Brad King2020-02-114-0/+81
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5c2a92f44f Swift: Exclude SDK include paths Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4315
* | \ \ \ \ \ Merge topic 'file-CONFIGURE_DEPENDS-verify-CMP0009'Brad King2020-02-125-2/+30
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 818ec34bdd file: GLOB_RECURSE VerifyGlobs.cmake should have CMP0009 set to new b620dc566d file: Fix GLOB_RECURSE LIST_DIRECTORIES documentation regarding CMP0009 715f90bdd9 Tests: Perform minor cleanups in RunCMake.file test Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !4342
| * | | | | | file: GLOB_RECURSE VerifyGlobs.cmake should have CMP0009 set to newShane Parris2020-02-115-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In certain cases, rebuilds with CMake using the CONFIGURE_DEPENDS flag with GLOB_RECURSE could result in a reconfigure loop due to CMP0009 not being propogated to the generated VerifyGlobs.cmake script. During the inital configuration phase, RecurseThroughSymlinksOn() is called for recursive glob operations either by having the CMP0009 status not set to NEW or by explicitly providing the FOLLOW_SYMLINKS flag. At the end when the VerifyGlobs script is created, the FOLLOW_SYMLINKS flag is written according to the final resolved form through a call to GetRecurseThroughSymlinks(). Thus, setting CMP0009 to NEW in the generated file is safe and allows correct behavior whether or not the end user sets the policy status to NEW or OLD.
| * | | | | | Tests: Perform minor cleanups in RunCMake.file testShane Parris2020-02-111-2/+2
| | | | | | |
* | | | | | | Merge topic 'install-default-fix'Brad King2020-02-126-12/+12
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dd8d5004a9 Merge branch 'backport-3.16-install-default-fix' 45d5abf4a8 Merge branch 'backport-3.15-install-default-fix' 0a4d829c36 Merge branch 'backport-3.14-install-default-fix' b519db6217 install: Fix regression when using default destinations b4b60d1c3a install: Fix regression when using default destinations 9442ae5083 install: Fix regression when using default destinations Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4340
| * \ \ \ \ \ \ Merge branch 'backport-3.16-install-default-fix'Brad King2020-02-116-12/+12
| |\ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | / | | | |_|_|_|/ | | |/| | | |
| | * | | | | install: Fix regression when using default destinationsKyle Edwards2020-02-116-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 9fc20a4f3e (install: Add sane set of defaults for DESTINATION and file type parameters, 2018-11-02, v3.14.0-rc1~410^2~1), a regression was introduced, in which an `install(TARGETS)` with a RUNTIME/LIBRARY/ARCHIVE DESTINATION but no PUBLIC_HEADER/PRIVATE_HEADER DESTINATION would then install the headers. The old behavior did not do this. Restore the old behavior. Fixes: #20326
* | | | | | | Merge topic 'FindPython-reduce-resources-comsumption'Brad King2020-02-111-0/+1
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3dab4682f6 FindPython: reduces consumption of resources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4338
| * | | | | | FindPython: reduces consumption of resourcesMarc Chevrier2020-02-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stores more information in the cache to reduce the number of sub-processes required on subsequent find_package calls. Fixes: #20337
* | | | | | | Merge topic 'swift-no-sdk-include'Brad King2020-02-114-0/+81
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5c2a92f44f Swift: Exclude SDK include paths Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4315
| * | | | | | Swift: Exclude SDK include pathsYauheni Khnykin2020-02-104-0/+81
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Populate `CMAKE_Swift_IMPLICIT_INCLUDE_DIRECTORIES` with the macOS SDK's include directory so that we filter such implicit directories out of Swift targets. Fixes: #19845
* | | | | | Merge topic 'fileapi-test-breakup'Brad King2020-02-1158-4690/+4752
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 75e71263e7 FileAPI test: Break gen_check_projects() into JSON files a0de350e2f FileAPI test: Break gen_check_targets() into JSON files de8ebc9dba FileAPI test: Break gen_check_directories() into JSON files 1605fcbbd9 FileAPI test: Add infrastructure for reading JSON test data Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4333
| * | | | | FileAPI test: Break gen_check_projects() into JSON filesKyle Edwards2020-02-078-120/+127
| | | | | |
| * | | | | FileAPI test: Break gen_check_targets() into JSON filesKyle Edwards2020-02-0742-4422/+4462
| | | | | |
| * | | | | FileAPI test: Break gen_check_directories() into JSON filesKyle Edwards2020-02-0710-148/+157
| | | | | |
| * | | | | FileAPI test: Add infrastructure for reading JSON test dataKyle Edwards2020-02-071-0/+6
| | |_|_|/ | |/| | |
| * | | | Merge topic 'ninja-multi-default-config-fix'Brad King2020-02-072-0/+5
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1844be451e Ninja Multi-Config: Fix issue with CMAKE_NMC_DEFAULT_BUILD_FILE_CONFIG Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4331
* | | | | | Ninja Multi-Config: Add support for DEPFILE option in add_custom_command()Kyle Edwards2020-02-073-0/+18
| |_|_|/ / |/| | | | | | | | | | | | | | And give other generators a path forward to add support in the future.
* | | | | Merge topic 'ninja-multi-default-config-fix' into release-3.17Brad King2020-02-072-0/+5
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | | | | | | | | | 1844be451e Ninja Multi-Config: Fix issue with CMAKE_NMC_DEFAULT_BUILD_FILE_CONFIG Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4331