summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'test-ifort-windows'Brad King2023-08-111-0/+5
|\ | | | | | | | | | | | | 70623f3bbf Tests: Fix RunCMake.BuildDepends Fortran case with Intel compiler on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8702
| * Tests: Fix RunCMake.BuildDepends Fortran case with Intel compiler on WindowsBrad King2023-08-101-0/+5
| | | | | | | | | | The test regularly fails updating the `vc*.pdb` compiler-generated PDB file. Add the `/Z7` flag as the compiler suggests for this.
* | CMake Nightly Date StampKitware Robot2023-08-111-1/+1
| |
* | Merge branch 'release-3.27'Brad King2023-08-100-0/+0
|\ \
| * | CMake 3.27.2v3.27.2Brad King2023-08-101-1/+1
| | |
* | | Merge branch 'release-3.27'Brad King2023-08-100-0/+0
|\ \ \ | |/ /
| * | Merge topic 'vs-sdk-selection' into release-3.27Brad King2023-08-1018-109/+201
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 89b611ab32 VS: Select latest Windows SDK even when targeting Windows 8.1 and below ae97d82e83 VS: Teach CMAKE_GENERATOR_PLATFORM to support Windows 8.1 SDK selection 15ff89654b VS: Teach CMAKE_GENERATOR_PLATFORM to use Windows 10 SDKs for older versions bba1a23da9 VS: Consolidate Windows SDK major version selection dispatch 209973e510 VS: Do not print empty Windows SDK version when none is selected ec6dd77053 Tests: Remove redundant condition in RunCMake.GeneratorPlatform test 4776a584ad Help: Add 3.27 release note on VS default SDK selection Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8697
* | \ \ Merge topic 'vs-sdk-selection'Brad King2023-08-1018-109/+200
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d5118ed2e5 Merge branch 'backport-vs-sdk-selection' into vs-sdk-selection 89b611ab32 VS: Select latest Windows SDK even when targeting Windows 8.1 and below ae97d82e83 VS: Teach CMAKE_GENERATOR_PLATFORM to support Windows 8.1 SDK selection 15ff89654b VS: Teach CMAKE_GENERATOR_PLATFORM to use Windows 10 SDKs for older versions bba1a23da9 VS: Consolidate Windows SDK major version selection dispatch 209973e510 VS: Do not print empty Windows SDK version when none is selected ec6dd77053 Tests: Remove redundant condition in RunCMake.GeneratorPlatform test 4776a584ad Help: Add 3.27 release note on VS default SDK selection Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8697
| * | | Merge branch 'backport-vs-sdk-selection' into vs-sdk-selectionBrad King2023-08-1018-109/+200
| |\ \ \ | | | |/ | | |/|
| | * | VS: Select latest Windows SDK even when targeting Windows 8.1 and belowBrad King2023-08-104-5/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The policy added by commit f90c8ab54e (VS: Select latest available Windows SDK version by default, 2023-04-03, v3.27.0-rc1~206^2~1) applied only when targeting Windows 10+. Apply it to older versions too. Fixes: #25170 Issue: #16202
| | * | VS: Teach CMAKE_GENERATOR_PLATFORM to support Windows 8.1 SDK selectionBrad King2023-08-104-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Honor an explicit `version=8.1` field value regardless of the Windows target version. Issue: #25170
| | * | VS: Teach CMAKE_GENERATOR_PLATFORM to use Windows 10 SDKs for older versionsBrad King2023-08-1014-59/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Honor an explicit `version=` field selecting a Windows 10 SDK regardless of the Windows target version. Issue: #25170
| | * | VS: Consolidate Windows SDK major version selection dispatchBrad King2023-08-104-24/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Make logic choosing between Windows 10 SDKs and the Windows 8.1 SDK easier to follow by consolidating it in the VS 14 generator. The only information we need from VS 15+ generators is whether the 8.1 SDK is installed.
| | * | VS: Do not print empty Windows SDK version when none is selectedBrad King2023-08-101-1/+2
| | | |
| | * | Tests: Remove redundant condition in RunCMake.GeneratorPlatform testBrad King2023-08-101-23/+21
| | | |
| | * | Help: Add 3.27 release note on VS default SDK selectionBrad King2023-08-091-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was accidentally left out of commit f90c8ab54e (VS: Select latest available Windows SDK version by default, 2023-04-03, v3.27.0-rc1~206^2~1). Issue: #16202
* | | | Merge branch 'release-3.27'Brad King2023-08-100-0/+0
|\ \ \ \ | | |_|/ | |/| |
| * | | Merge topic 'sphinx-search-index' into release-3.27Brad King2023-08-101-0/+2
| |\ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | fbed0431c2 ci: Suppress cmake.org html documentation search results for index entries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8700
* | | | Merge topic 'sphinx-search-index'Brad King2023-08-101-0/+2
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | fbed0431c2 ci: Suppress cmake.org html documentation search results for index entries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8700
| * | | ci: Suppress cmake.org html documentation search results for index entriesBrad King2023-08-101-0/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since Sphinx 5.2.0, the generated html search page reports all index entries that match a query term. Unfortunately even non-main entries get a high score, placing them before more important search results such as document titles and domain object names. Work around this for documentation published on `cmake.org` by removing the logic from `searchtools.js` in the generated html documentation. Issue: #25175
* | | Merge topic 'OPTIMIZE_DEPENDENCIES-runtime-targets'Brad King2023-08-1011-3/+76
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 84eae7aeda OPTIMIZE_DEPENDENCIES: Skip order-only deps for non-linking targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8685
| * | | OPTIMIZE_DEPENDENCIES: Skip order-only deps for non-linking targetsCraig Scott2023-08-0911-3/+76
| | | | | | | | | | | | | | | | Fixes: #21517
* | | | Merge topic 'cmSystemTools-hash-cleanup'Brad King2023-08-1014-166/+108
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4980f47b46 cmGlobalGenerator: always support generating rule hashes b334dc84c3 cmLocalGenerator: always support shortening filenames 36bd3d82f8 cmSystemTools: move `ComputeCertificateThumbprint` to the only consumer a4e4daceaf cmSystemTools: remove `ComputeFileHash` method 0abde043d2 cmCryptoHash: prefer to cmSystemTools::ComputeFileHash 4d5198a986 cmSystemTools: remove `ComputeStringMD5` method ec5f1c489a cmCryptoHash: prefer to cmSystemTools::ComputeStringMD5 Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8695
| * | | | cmGlobalGenerator: always support generating rule hashesBen Boeckel2023-08-081-8/+1
| | | | |
| * | | | cmLocalGenerator: always support shortening filenamesBen Boeckel2023-08-082-19/+5
| | | | |
| * | | | cmSystemTools: move `ComputeCertificateThumbprint` to the only consumerBen Boeckel2023-08-083-85/+71
| | | | | | | | | | | | | | | | | | | | | | | | | There's no need to have this API on `cmSystemTools` with only a single consumer.
| * | | | cmSystemTools: remove `ComputeFileHash` methodBen Boeckel2023-08-082-13/+0
| | | | | | | | | | | | | | | | | | | | No longer used.
| * | | | cmCryptoHash: prefer to cmSystemTools::ComputeFileHashBen Boeckel2023-08-083-11/+9
| | | | |
| * | | | cmSystemTools: remove `ComputeStringMD5` methodBen Boeckel2023-08-082-9/+0
| | | | | | | | | | | | | | | | | | | | No longer used.
| * | | | cmCryptoHash: prefer to cmSystemTools::ComputeStringMD5Ben Boeckel2023-08-087-21/+22
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | The latter call is no longer post-bootstrap only since 596439b1bb (cmCustomCommandGenerator: Add option to transform depfile, 2020-10-05) via !5325. Convert callers to just use `cmCryptoHash` directly and remove the bootstrap guard.
* | | | Merge topic 'test-cxxmodules-generated-fix'Brad King2023-08-102-5/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1e9ec93f48 Tests/RunCMake/CXXModules: actually generate the source at build time Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8693
| * | | | Tests/RunCMake/CXXModules: actually generate the source at build timeBen Boeckel2023-08-072-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | This tests what is intended to be tested (sources that do not exist until after the configure has run).
* | | | | Merge topic 'ci-hip'Brad King2023-08-105-1/+29
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cffa56c918 ci: Add HIP job based on Fedora image 05277d92da ci: Add ROCm HIP to Fedora base image Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8698
| * | | | | ci: Add HIP job based on Fedora imageBrad King2023-08-074-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Fedora `rocm-hip-devel` package organizes the `hip-lang` cmake package differently from the official ROCm base images. Cover it separately. Issue: #25050
| * | | | | ci: Add ROCm HIP to Fedora base imageBrad King2023-08-072-1/+8
| |/ / / /
* | | | | CMake Nightly Date StampKitware Robot2023-08-101-1/+1
| | | | |
* | | | | Merge topic 'add-cm-fileno'Brad King2023-08-095-14/+34
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fbdb1fd843 Source: Add cm_fileno wrapper Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8686
| * | | | | Source: Add cm_fileno wrapperKyle Edwards2023-08-075-14/+34
| | |_|/ / | |/| | | | | | | | | | | | | And use it where appropriate.
* | | | | CMake Nightly Date StampKitware Robot2023-08-091-1/+1
| |_|/ / |/| | |
* | | | Merge topic 'FindPython-MINGW-support'Brad King2023-08-081-11/+54
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d6b9af5f91 FindPython: enhance MinGW support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8687
| * | | | FindPython: enhance MinGW supportMarc Chevrier2023-08-051-11/+54
| |/ / / | | | | | | | | | | | | Ensure python-config script can be used.
* | | | Merge topic 'cmExperimental-uuid-doc'Brad King2023-08-081-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 21c45a81c3 Help/experimental: fix UUID documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8692
| * | | | Help/experimental: fix UUID documentationBen Boeckel2023-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This was missed in be53c75852 (cmExperimental: recycle the C++ modules API UUID, 2023-07-21) from !8639.
* | | | | Merge branch 'release-3.27'Brad King2023-08-080-0/+0
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Merge topic 'file-GENERATE-arg-parsing' into release-3.27Brad King2023-08-085-1/+12
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 88f90a72f1 file(GENERATE): Restore INPUT|CONTENT parse checking Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8694
* | \ \ \ \ Merge topic 'file-GENERATE-arg-parsing'Brad King2023-08-085-1/+12
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 88f90a72f1 file(GENERATE): Restore INPUT|CONTENT parse checking Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8694
| * | | | | file(GENERATE): Restore INPUT|CONTENT parse checkingEvan Wilde2023-08-075-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit bff468c988 (cmFileCommand: Use cm::optional for keyword argument presence, 2022-06-30, v3.25.0-rc1~512^2) accidentally broke the check that the input argument is either `INPUT` or `CONTENT`. The check is supposed to fail when arguments are passed in the wrong order. For example: file(GENERATE OUTPUT ... TARGET <target> CONTENT <content>) Prior to this fix, the input method would be CONTENT, but because the first parsed keyword is not `CONTENT`, `inputIsContent` would be false. The first parsed keyword isn't INPUT either, so we would not continue into the error condition. CMake would then try to handle this as an input file, when there isn't one, resulting in uninitialized memory usage and segfaults or corruption later on. Fixes: #25169
* | | | | | Merge branch 'release-3.27'Brad King2023-08-080-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge topic 'help-importing-exporting-lib' into release-3.27Brad King2023-08-081-2/+2
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b7704e8818 Help/guide/importing-exporting: Update line numbers in prose Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8691
* | \ \ \ \ \ Merge topic 'help-importing-exporting-lib'Brad King2023-08-081-2/+2
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b7704e8818 Help/guide/importing-exporting: Update line numbers in prose Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8691