summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | Autogen: Separate RunCMake.AutogenQtX testsOrkun Tokdemir2024-06-2469-518/+570
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The RunCMake.AutogenQtX tests occasionally time out so separate `RunCMake.AutogenQtX` tests. Example: https://open.cdash.org/tests/1583599782
* | | | | | | | | Merge topic 'issue-26041-filemakedirectory-result-optional-argument'Brad King2024-06-2616-11/+49
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 95323c90a1 file(MAKE_DIRECTORY): Add optional RESULT keyword to capture failure. Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !9604
| * | | | | | | | file(MAKE_DIRECTORY): Add optional RESULT keyword to capture failure.Asit Dhal2024-06-2416-11/+49
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | Fixes: #26041
* | | | | | | | Merge topic 'apple-framework-bundle-name'Brad King2024-06-245-27/+85
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8a06f173d9 Apple: Add CFBundleName to framework Info.plist files 7c1a18655b Tests/RunCMake/Framework: Improve failure messages Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Jason Juang <jasjuang@gmail.com> Merge-request: !9610
| * | | | | | | | Apple: Add CFBundleName to framework Info.plist filesBrad King2024-06-204-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #26046
| * | | | | | | | Tests/RunCMake/Framework: Improve failure messagesBrad King2024-06-183-27/+53
| | |/ / / / / / | |/| | | | | |
* | | | | | | | Merge topic 'link-feature-attributes-stabilization'Brad King2024-06-2438-42/+96
|\ \ \ \ \ \ \ \ | | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 576567f028 Link feature attributes: stabilization 5617c34c31 Libraries processing: update configuration wording Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9607
| * | | | | | | Link feature attributes: stabilizationMarc Chevrier2024-06-2128-32/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * enhance OVERRIDE handling * Update wording
| * | | | | | | Libraries processing: update configuration wordingMarc Chevrier2024-06-2110-10/+10
| | | | | | | |
* | | | | | | | Merge topic 'nmc-config-list'Brad King2024-06-243-0/+6
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | / / / / | | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b1a804d616 Ninja Multi-Config: Fix crash if config list is changed in subdirectory 9f8afacb3e cmGlobalNinjaGenerator: Reuse local generator caching of config list 48b911e3e5 cmGlobalNinjaGenerator: Factor out helper for global config list lookup e2c6a54b07 cmGlobalNinjaGenerator: De-duplicate CMAKE_CONFIGURATION_TYPES lookup Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9618
| * | | | | | Ninja Multi-Config: Fix crash if config list is changed in subdirectoryBrad King2024-06-213-0/+6
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Look up the value of `CMAKE_CONFIGURATION_TYPES` only in the top level directory. Fixes: #26064
* | | | | | Merge topic 'masm-static-lib'Brad King2024-06-214-0/+4
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | faadb86474 ASM_MASM: Add support for masm-only static libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9612
| * | | | | ASM_MASM: Add support for masm-only static librariesJeremy Koritzinsky2024-06-204-0/+4
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Set correct command to create a static library for Microsoft assembly dialects. Fixes: #18889
* | | | | Merge topic 'xcode-16'Brad King2024-06-142-2/+3
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | | | | | | | | | b243c19986 Tests: Update expected results for Xcode 16 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9596
| * | | Tests: Update expected results for Xcode 16Brad King2024-06-132-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In `Tests/RunCMake/LinkerSelection`, Xcode 16 warns when building the AppleClassic case: ld: warning: -ld_classic is deprecated and will be removed in a future release Tolerate all build warnings.
* | | | Merge topic 'fc-cmp0168-fresh'Brad King2024-06-102-11/+14
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9299cbbdb4 FetchContent: Force cmake --fresh to re-execute direct population steps e82e2c38c1 Tests: RunCMake.FetchContent should not always force _deps removal f97b25ec4b Tests: Fix -direct variants of FetchContent tests using wrong files 11b684c449 FetchContent: Fix typos in stamp/step file names a02eec4a9f FetchContent,ExternalProject: Fix extra semicolons in step commands Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9589
| * | | FetchContent: Force cmake --fresh to re-execute direct population stepsCraig Scott2024-06-071-0/+8
| | | | | | | | | | | | | | | | Issue: #25468
| * | | Tests: RunCMake.FetchContent should not always force _deps removalCraig Scott2024-06-071-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To properly test some functionality, tests may rely on not clearing things like time stamps between cmake invocations. The RunCMake infrastructure clears the build directory by default anyway, and tests may individually ask for that to be disabled where needed. The line being removed here was originally added to assist with manually re-running individual tests locally outside the control of RunCMake. That is no longer appropriate.
| * | | Tests: Fix -direct variants of FetchContent tests using wrong filesCraig Scott2024-06-072-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The -direct variants of the RunCMake.FetchContent tests were meant to be using the same result, stdout and stderr files as the non-direct tests. The -direct tests were specified in the wrong way for that and ended up using no files at all, so they weren't testing the full set of expected conditions. Use the test variant feature provided by the RunCMake infrastructure instead, which is the proper way to handle this sort of scenario.
* | | | Merge topic 'doc-testing'Brad King2024-06-062-2/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8a688e556e Help/dev: Add a CMake Testing Guide 7cc124d4b5 Help/dev: Move integration testing to a more-specific document d9ab1fb5da Help/dev: Fix formatting in CMake Documentation Guide aa3fffa4bb README: Drop outdated link on running CMake Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Juan Ramos <juan.ramos@kitware.com> Merge-request: !9576
| * | | | Help/dev: Add a CMake Testing GuideBrad King2024-06-052-2/+5
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Document how developers working on CMake itself may run the test suite locally. Fixes: #26001
* | | | Add deprecation warnings for policies CMP0129 and belowBrad King2024-06-053-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The OLD behaviors of all policies are deprecated, but only by documentation. Add an explicit deprecation diagnostic for policies introduced in CMake 3.23 and below to encourage projects to port away from setting policies to OLD.
* | | | Tests: Modernize RunCMake.CMP0129 test conventions and conditionsBrad King2024-06-0516-29/+34
|/ / /
* | | Merge topic 'FindPython-free-threaded-python'Brad King2024-06-052-1/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9a0dee7257 FindPython: Add support for free threaded python 4178ab928f FindPython: Fix spelling error Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9578
| * | | FindPython: Add support for free threaded pythonMarc Chevrier2024-06-041-0/+5
| | | | | | | | | | | | | | | | Fixes: #26016
| * | | FindPython: Fix spelling errorMarc Chevrier2024-06-041-1/+1
| | | |
* | | | Merge topic 'FindMatlab-test-versions_checks'Brad King2024-06-051-0/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bda14d99f5 Tests: Fix FindMatlab.versions_checks Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9583
| * | | | Tests: Fix FindMatlab.versions_checksSilvio Traversaro2024-06-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `matlab_get_release_name_from_version("14.10" release_name)` does not write the `release_name` variable if the `14.10` is not a known version, so before checking for the variable to be empty, we should set it to an empty value.
* | | | | Tests: Fix FindMatlab.no_implicit_link_checksSilvio Traversaro2024-06-041-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | `matlab_add_mex` uses the plain signature of `target_link_libraries`, so we need to use the plain signature also outside of `matlab_add_mex` to avoid a configuration error.
* | | | Merge topic 'cpack-nuget-dependency-groups'Brad King2024-06-048-0/+109
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | 0f4d3664a9 CPack/NuGet: Build dependencies in groups Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9544
| * | | CPack/NuGet: Build dependencies in groupsAlex Opie2024-06-038-0/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows particular frameworks to be targeted by particular dependencies, and for empty dependency groups to satisfy NuGet's framework-matching requirements.
* | | | Merge topic 'cmake-C-crash'Brad King2024-06-036-0/+57
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7330121467 Fix crash in target-specific commands called from initial cache script Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9571
| * | | | Fix crash in target-specific commands called from initial cache scriptBrad King2024-06-016-0/+57
| | | | | | | | | | | | | | | | | | | | Fixes: #26018
* | | | | Merge topic 'file-accept-empty-lists'Brad King2024-06-035-13/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7c516f7e28 file(): TOUCH, TOUCH_NOCREATE and MAKE_DIRECTORY accept empty lists Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9570
| * | | | | file(): TOUCH, TOUCH_NOCREATE and MAKE_DIRECTORY accept empty listsCraig Scott2024-05-315-13/+4
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Projects may be generating a list of files or directories to pass as arguments to file(TOUCH), file(TOUCH_NOCREATE), or file(MAKE_DIRECTORY). Those lists might end up being empty, so rather than requiring at least one item, allow an empty list. Fixes: #24897
* | | | | Merge topic 'ep-disable-source-changes'Brad King2024-06-034-0/+37
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0cc1b550dd ExternalProject,FetchContent: Avoid CMAKE_DISABLE_SOURCE_CHANGES error Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9569
| * | | | ExternalProject,FetchContent: Avoid CMAKE_DISABLE_SOURCE_CHANGES errorCraig Scott2024-05-314-0/+37
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The file(MAKE_DIRECTORY) implementation checks whether a path is allowed to be written to before it checks if it already exists. For the scenario where a SOURCE_DIR is an existing directory within the main project's source directory, this triggers a fatal error if CMAKE_DISABLE_SOURCE_CHANGES is set to true for ExternalProject, and some FetchContent scenarios. Therefore, add an explicit check for existence first to avoid making such error-triggering calls. Fixes: #21872
* | | | Merge topic 'ci-msvc-14.40'Brad King2024-05-312-13/+27
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0070708ae1 gitlab-ci: Update Windows builds to MSVC 14.40 toolset 41e777274a Tests: Update BuildDepends test for VS 17.10 f26e8886b3 cmake-gui: Suppress MSVC deprecation warnings from Qt headers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9560
| * | | | Tests: Update BuildDepends test for VS 17.10Brad King2024-05-301-13/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test project now rebuilds `link_depends_no_shared_exe` in `Debug` builds. MSBuild `-v:diag` shows: Source compilation required: input C:\...\DEBUG\LINK_DEPENDS_NO_SHARED_LIB.PDB is newer than output C:\...\DEBUG\LINK_DEPENDS_NO_SHARED_EXE.EXE. Use the `Release` configuration instead.
| * | | | cmake-gui: Suppress MSVC deprecation warnings from Qt headersBrad King2024-05-301-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MSVC 14.38+ toolsets deprecate `stdext::checked_array_iterator`. Support building with versions of Qt that have not been updated to avoid the deprecated API. Qt-Issue: https://bugreports.qt.io/browse/QTBUG-118993
* | | | | Merge topic 'cpack-deb-shlibdeps'Brad King2024-05-3110-11/+200
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27d161eac3 CPackDeb: dpkg-shlibdeps shall consider dependency components, too Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9531
| * | | | | CPackDeb: dpkg-shlibdeps shall consider dependency components, tooDeniz Bahadir2024-05-3010-11/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using `dpkg-shlibdeps` to automatically determine package dependencies it considers the RUNPATH/RPATH of executables in order to find all required shared libraries of such executables. If the RUNPATH/RPATH contains a verbatim `$ORIGIN` (respective `${ORIGIN}`), it will now be substituted by the packaging-paths of other components that are marked as dependency and those paths will then be used as additional search directories for `dpkg-shlibdeps`. Associated tests were added as well. Fixes: #21838
* | | | | | Merge topic 'dep-provider-try_compile'Brad King2024-05-317-1/+124
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4cb5bb014d try_compile: Propagating top level includes into whole-project calls Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robertjmaynard@gmail.com> Merge-request: !9532
| * | | | | try_compile: Propagating top level includes into whole-project callsCraig Scott2024-05-307-1/+124
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #24151
* | | | | | Merge topic 'enforce-fc-fully-disconnected-requirements'Brad King2024-05-3013-0/+83
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f588421b58 FetchContent: Enforce FETCHCONTENT_FULLY_DISCONNECTED requirements Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9556
| * | | | | FetchContent: Enforce FETCHCONTENT_FULLY_DISCONNECTED requirementsCraig Scott2024-05-2913-0/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FETCHCONTENT_FULLY_DISCONNECTED should only be set to true if each dependency's source directory has already been populated. Previously, this wasn't being checked, but now it is (subject to a new policy).
* | | | | | Merge topic 'CUDAToolkit_search_non_activated_compiler_paths'Brad King2024-05-303-0/+31
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | eed16fbc00 FindCUDAToolkit: Use CUDA compiler path even when CUDA lang not enabled Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9558
| * | | | | FindCUDAToolkit: Use CUDA compiler path even when CUDA lang not enabledRobert Maynard2024-05-293-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #25567
* | | | | | Merge topic 'deprecate-fetchcontent_populate'Brad King2024-05-2928-0/+90
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4370fcf750 FetchContent: Deprecate FetchContent_Populate(depName) bc70b458ad Help: Minor grammar improvements for FetchContent Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9552
| * | | | | FetchContent: Deprecate FetchContent_Populate(depName)Craig Scott2024-05-2928-0/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Projects should use FetchContent_MakeAvailable(depName) instead. Policy CMP0169 provides backward compatibility.