summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'ghs-escape-custom-command-comments'Brad King2023-08-161-1/+3
|\ | | | | | | | | | | | | 5a41d926dd GHS: Escape custom command comments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8714
| * GHS: Escape custom command commentsWilliam Sciaroni2023-08-151-1/+3
| | | | | | | | Fixes: #25171
| * CMake 3.27.2v3.27.2Brad King2023-08-101-1/+1
| |
* | CMake Nightly Date StampKitware Robot2023-08-161-1/+1
| |
* | CMake Nightly Date StampKitware Robot2023-08-151-1/+1
| |
* | Merge topic 'test-properties-directory'Kyle Edwards2023-08-145-19/+168
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2ccb897d86 get_test_property(): Add DIRECTORY option 84e76fedb0 get_property(TEST): Add DIRECTORY option efc8f19cc5 set_tests_properties(): Add DIRECTORY option 753999d4db set_property(TEST): Add DIRECTORY option Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8709
| * | get_test_property(): Add DIRECTORY optionKyle Edwards2023-08-111-3/+24
| | |
| * | get_property(TEST): Add DIRECTORY optionKyle Edwards2023-08-111-7/+25
| | |
| * | set_tests_properties(): Add DIRECTORY optionKyle Edwards2023-08-111-2/+28
| | |
| * | set_property(TEST): Add DIRECTORY optionKyle Edwards2023-08-102-7/+91
| | |
* | | Merge topic 'ctest-generate-resource-spec-file'Kyle Edwards2023-08-146-42/+147
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c8c1dd0d95 CTest: Add ability to dynamically generate resource spec file 3f5a5a5856 cmCTestRunTest::StartFailure(): Add total argument Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8699
| * | | CTest: Add ability to dynamically generate resource spec fileKyle Edwards2023-08-105-33/+136
| | | | | | | | | | | | | | | | Issue: #25106
| * | | cmCTestRunTest::StartFailure(): Add total argumentKyle Edwards2023-08-103-9/+11
| |/ / | | | | | | | | | | | | | | | | | | This function was being called when TotalNumberOfTests hadn't been initialized, resulting in undefined output. It's not clear why this was never apparent until now. Accept a total argument to ensure it's initialized.
* | | CMake Nightly Date StampKitware Robot2023-08-141-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2023-08-131-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2023-08-121-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2023-08-111-1/+1
| | |
* | | Merge topic 'vs-sdk-selection'Brad King2023-08-106-56/+105
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-106-56/+105
| |\ \ \ | | | |/ | | |/|
| | * | VS: Select latest Windows SDK even when targeting Windows 8.1 and belowBrad King2023-08-101-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-101-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-104-34/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | | |
| | * | Merge topic 'file-GENERATE-arg-parsing' into release-3.27Brad King2023-08-081-1/+2
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 'cmList-append-regression' into release-3.27Brad King2023-08-082-25/+53
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7f9f96151a cmList: Fix performance regression in append/prepend Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8684
| | | * | | cmList: Fix performance regression in append/prependMarc Chevrier2023-08-042-25/+53
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #25147
| | * | | | Merge topic 'doc-fixups-release-3.27' into release-3.27Craig Scott2023-08-071-1/+1
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 78e7ea598d cmLocalGenerator: Fix trivial spelling error in code comment 1285fe27ff Help: Improve formatting and fix wording for ENABLE_EXPORTS 91336d061c Help: Improve formatting and cross-references for DEPENDS_EXPLICIT_ONLY 03208d9e18 Help: Fix indenting within TARGET_RUNTIME_DLLS genex docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8688
* | | \ \ \ \ Merge topic 'OPTIMIZE_DEPENDENCIES-runtime-targets'Brad King2023-08-105-3/+30
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-095-3/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | CMake Nightly Date StampKitware Robot2023-08-101-1/+1
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | Merge topic 'add-cm-fileno'Brad King2023-08-094-13/+30
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-074-13/+30
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | And use it where appropriate.
* | | | | | | CMake Nightly Date StampKitware Robot2023-08-091-1/+1
| |/ / / / / |/| | | | |
* | | | | | Merge topic 'file-GENERATE-arg-parsing'Brad King2023-08-081-1/+2
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-071-1/+2
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 topic 'cmList-append-regression'Brad King2023-08-082-22/+32
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ee5edf77db Merge branch 'backport-3.27-cmList-append-regression' into cmList-append-regression a9a34edc82 cmList: Fix performance regression in append/prepend 7f9f96151a cmList: Fix performance regression in append/prepend Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8684
| * | | | | cmList: Fix performance regression in append/prependMarc Chevrier2023-08-042-22/+32
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #25147
* | | | | | CMake Nightly Date StampKitware Robot2023-08-081-1/+1
| | | | | |
* | | | | | Merge topic 'doc-fixups-release-3.27'Craig Scott2023-08-071-1/+1
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 78e7ea598d cmLocalGenerator: Fix trivial spelling error in code comment 1285fe27ff Help: Improve formatting and fix wording for ENABLE_EXPORTS 91336d061c Help: Improve formatting and cross-references for DEPENDS_EXPLICIT_ONLY 03208d9e18 Help: Fix indenting within TARGET_RUNTIME_DLLS genex docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8688
| * | | | | cmLocalGenerator: Fix trivial spelling error in code commentCraig Scott2023-08-061-1/+1
| | |_|_|/ | |/| | |
* | | | | Merge topic 'cxxmodules-try-compile'Brad King2023-08-075-31/+186
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be53c75852 cmExperimental: recycle the C++ modules API UUID deb1c3cbd5 cmCoreTryCompile: forward module-related binutils variables b768d293c5 cmCoreTryCompile: use the source type context for source files 93993c7ad4 cmArgumentParser: support storing a context value with parsing c9ca5f6326 cmCoreTryCompile: parse `SOURCES_TYPE` argument 07551f35de cmCoreTryCompile: use `target_sources` for `try_compile` targets aad9033b56 cmExperimental: support forwarding associated variables to `try_compile` f6cf433256 cmExperimental: only forward C++ module support to non-ABI checks ... Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8639