Commit Graph

67030 Commits

Author SHA1 Message Date
Craig Scott d48834d277 Merge topic 'doc-get_property-undefined'
a1fdcb9d47 Help: get_property() result var is unset if property is not set
edee1b18b2 Help: Minor formatting and grammar fixes for get_property()

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9769
2024-08-23 19:16:03 -04:00
Brad King 2233964cb1 Merge topic 'doc-if-conditions'
2e634501fd Help/command/if: list all condition operators in precedence order overview

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: scivision <michael@scivision.dev>
Merge-request: !9767
2024-08-23 09:50:12 -04:00
Brad King 1a817ba874 Merge topic 'ci-clang18-windows'
15dc1a357b ci: Update LLVM/Clang to 18.1 in nightly CI jobs on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9768
2024-08-23 09:47:48 -04:00
Kitware Robot 5022113bbe CMake Nightly Date Stamp 2024-08-23 00:01:22 -04:00
Craig Scott a1fdcb9d47 Help: get_property() result var is unset if property is not set
Fixes: #26152
2024-08-23 09:58:46 +10:00
Craig Scott edee1b18b2 Help: Minor formatting and grammar fixes for get_property() 2024-08-23 09:57:14 +10:00
Brad King 15dc1a357b ci: Update LLVM/Clang to 18.1 in nightly CI jobs on Windows 2024-08-22 11:47:50 -04:00
Aleksei Shpakovskii 2e634501fd Help/command/if: list all condition operators in precedence order overview
This section is near the top and so can serve as an exhaustive
table of contents for the things that `if()` can check.
2024-08-22 11:31:12 -04:00
Brad King 40e85e1551 Merge topic 'doc-if-IN_LIST'
e4a359e5d4 Help/command/if: Document variable expansion by IN_LIST

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9764
2024-08-22 09:06:00 -04:00
Brad King 0089d5ba72 Merge topic 'doc-target-COMPILE_FLAGS'
0f79ca336c Help: Target property COMPILE_FLAGS has been superseded by COMPILE_OPTIONS

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9758
2024-08-22 09:05:00 -04:00
Brad King 4950445d4b Merge topic 'hip-lang-lib64search'
c34d827622 HIP: Ensure lib64 directories are included in hip-lang dependency search

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9741
2024-08-22 09:04:02 -04:00
Brad King 3d61720112 Merge topic 'autogen-predefs-emscripten'
8d1803d463 AutoGen: Run batch scripts using cmd.exe on windows platforms explicitly
9ab270f47d cmSystemTools: Add GetComspec method to get cmd on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9733
2024-08-22 09:03:05 -04:00
Kitware Robot 497b43b997 CMake Nightly Date Stamp 2024-08-22 00:01:17 -04:00
Brad King e4a359e5d4 Help/command/if: Document variable expansion by IN_LIST
Previously this behavior was only mentioned implicitly by the command
signature.  Describe it explicitly as we do for other conditions that
automatically expand variables.

Fixes: #26234
2024-08-21 09:17:21 -04:00
Peter Kokot 0f79ca336c Help: Target property COMPILE_FLAGS has been superseded by COMPILE_OPTIONS
The `COMPILE_FLAGS` is not actually deprecated but has been superseded
by the `COMPILE_OPTIONS` target property.
2024-08-21 08:56:06 -04:00
Brad King 8dcb35911c Merge topic 'test-cleanup'
4a259d82ad Templates: Remove unused and undocumented CTestScript.cmake.in
84f5f4278f Modules: Remove unnecessary .NoDartCoverage file in build tree

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9760
2024-08-21 08:55:00 -04:00
Brad King d81a2e4f5e Merge topic 'cpack-pkg-c_str'
1393b31635 cmCPackPKGGenerator: Remove redundant call to c_str

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9759
2024-08-21 08:54:14 -04:00
Brad King 65ff215c15 Merge branch 'release-3.30' 2024-08-21 08:50:31 -04:00
Brad King 9e4bba8e12 Merge topic 'ci-xcode-15.4'
a05de59029 gitlab-ci: update macOS jobs to use Xcode 15.4

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9761
2024-08-21 08:50:31 -04:00
Brad King 0e217de343 Merge topic 'ci-xcode-15.4' into release-3.30
a05de59029 gitlab-ci: update macOS jobs to use Xcode 15.4

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9761
2024-08-21 08:50:23 -04:00
Brad King 43606e6d26 Merge branch 'release-3.30' 2024-08-21 08:47:10 -04:00
Brad King 07753f064c Merge topic 'ci-msvc-14.41'
c89ddecb94 gitlab-ci: Update Windows builds to MSVC 14.41 toolset

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9763
2024-08-21 08:47:10 -04:00
Brad King 3b8e86d121 Merge topic 'ci-msvc-14.41' into release-3.30
c89ddecb94 gitlab-ci: Update Windows builds to MSVC 14.41 toolset

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9763
2024-08-21 08:47:08 -04:00
Alexey Edelev 8d1803d463 AutoGen: Run batch scripts using cmd.exe on windows platforms explicitly
The CreateProcessW function requires to use the cmd.exe when
attempting to execute batch scripts. AutoMoc RunProcess relies on
CreateProcessW in it's internals. Currently the cmd.exe run happens
implicitly for batch files(perhaps by luck), but this is not
documented anywhere.

This replaces the .bat files in the AutoGen related command lines with
explicit 'cmd.exe /c' call. Also 'cmd.exe /c' has own limitation
related to the arguments. The very first argument shouldn't be quoted
otherwise this lead to the parsing issues. So for the .bat files that
contain spaces in their paths use short name conversion.

Fixes #26208
2024-08-21 11:05:19 +02:00
Alexey Edelev 9ab270f47d cmSystemTools: Add GetComspec method to get cmd on Windows
The function attempts to read the path to cmd executable from the
COMSPEC environment variable. Falls back to cmd.exe if the respective
environment variable is not set or path doesn't exist.
2024-08-21 11:05:16 +02:00
Kitware Robot f1bf0d6a49 CMake Nightly Date Stamp 2024-08-21 00:01:38 -04:00
Brad King c89ddecb94 gitlab-ci: Update Windows builds to MSVC 14.41 toolset 2024-08-20 15:27:43 -04:00
Brad King a05de59029 gitlab-ci: update macOS jobs to use Xcode 15.4 2024-08-20 14:58:19 -04:00
Brad King 4a259d82ad Templates: Remove unused and undocumented CTestScript.cmake.in
The file was added by commit 3006560d86 (ENH: Add template of ctest
script, 2006-04-28, v2.6.0~3433), but we do not use it for anything.
Technically it was public-facing by being in the `Templates/` directory,
but was never documented.
2024-08-20 13:20:11 -04:00
Brad King 84f5f4278f Modules: Remove unnecessary .NoDartCoverage file in build tree
In-source builds were accidentally installing it as part of the source
tree's `Modules` directory.  The file was added by commit e131bfb462
(bug fix and some cleanup, 2002-12-03, v2.4.0~4793), but we have no
`Modules` in the build tree anyway.
2024-08-20 13:20:10 -04:00
Rose 1393b31635 cmCPackPKGGenerator: Remove redundant call to c_str
The call is unnecessary since commit 438809d3ba (cmCPackGenerator: Add
option to FindTemplate to use alternate builtin path, 2024-03-06,
v3.30.0-rc1~353^2~4).
2024-08-20 11:58:28 -04:00
Brad King 041a482079 Merge topic 'vector-reserve-and-emplace'
abc8410ac7 cmInstallScriptHandler: Reserve and emplace vector entries

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9753
2024-08-20 11:53:49 -04:00
Brad King 52fc175d66 Merge topic 'string-swap-noexcept'
873b8244f0 String: Make swap method noexcept

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9754
2024-08-20 11:52:00 -04:00
Brad King be881e89a8 Merge topic 'optimize-stream-shift-operators'
5b259985bf Refactor: Optimize some `std::ostream::operator<<()` calls

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9717
2024-08-20 11:51:10 -04:00
Brad King dfe196c7b1 Merge topic 'swift-test-windows'
0b0c70d1bf Swift: Enable SwiftMixLib Test on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9746
2024-08-20 11:47:52 -04:00
Brad King 860d9b4f37 Merge topic 'swift-linker-config'
a34756b622 Swift: Fix typo in linker configuration logic

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9745
2024-08-20 11:46:50 -04:00
Brad King bf514752af Merge topic 'findwx-link-libs'
bf2a0527cb FindwxWidgets: Add link dependencies for Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9749
2024-08-20 11:44:01 -04:00
Brad King 8734799848 Merge topic 'doc-refer'
759776dcdb Help: Check*SourceRuns make text more concise.
5d42177a06 Help: Check*SourceCompiles, Check*CompilerFlag refer to new command

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9743
2024-08-20 11:41:38 -04:00
Brad King 89d7ed5497 Merge topic 'fix-dependencies-searching'
4d4e008e69 file(GET_RUNTIME_DEPENDENCIES): Fix resolution of repeated ELF dependencies

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9704
2024-08-20 11:38:27 -04:00
Brad King 2ab43d78e1 Merge branch 'release-3.30' 2024-08-20 11:24:46 -04:00
Brad King 5adcac8e08 Merge topic 'FindJNI-no-xcode'
7402593a08 FindJNI: Improve output on macOS if Xcode is not installed

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9750
2024-08-20 11:24:46 -04:00
Brad King 9570ff0c7c Merge topic 'FindJNI-no-xcode' into release-3.30
7402593a08 FindJNI: Improve output on macOS if Xcode is not installed

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9750
2024-08-20 11:24:44 -04:00
Brad King c61d7cbbc0 Merge branch 'release-3.30' 2024-08-20 11:21:01 -04:00
Brad King 67a92743ab Merge topic 'ci-ninja-1.12.1'
6fb9e92238 ci: update to use ninja 1.12.1

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9756
2024-08-20 11:21:01 -04:00
Brad King 42fb178506 Merge topic 'ci-ninja-1.12.1' into release-3.30
6fb9e92238 ci: update to use ninja 1.12.1

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9756
2024-08-20 11:20:59 -04:00
Brad King 1918e7e50a Merge branch 'release-3.30' 2024-08-20 11:17:59 -04:00
Brad King 4522a01192 Merge topic 'cpack-nsis-reserved-component-names'
b1f956529a CPack/NSIS: Fix matching of reserved component names

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9757
2024-08-20 11:17:59 -04:00
Brad King 8eaaa0023e Merge topic 'cpack-nsis-reserved-component-names' into release-3.30
b1f956529a CPack/NSIS: Fix matching of reserved component names

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9757
2024-08-20 11:17:57 -04:00
Kitware Robot 68f3f3141f CMake Nightly Date Stamp 2024-08-20 00:01:20 -04:00
Rose 873b8244f0 String: Make swap method noexcept
There is no reason why it should not be `noexcept`.
`std::swap` cannot have any exceptions or handle any.
2024-08-19 15:10:34 -04:00