Commit Graph

61636 Commits

Author SHA1 Message Date
مهدي شينون (Mehdi Chinoune) 248689f9bf FindOpenSSL: Fix finding header files and static libraries on MinGW
* Avoid searching in the `Program Files` folder because the official
  OpenSSL is built for the MSVC ABI, and so is not compatible with MinGW.

* Static libraries on MinGW has `.a` extension.
2023-04-05 09:49:31 -04:00
Kitware Robot eb2bdbd301 CMake Nightly Date Stamp 2023-04-05 00:01:07 -04:00
Brad King ff48c5080f Merge branch 'release-3.26' 2023-04-04 15:43:13 -04:00
Brad King 624461526f CMake 3.26.3 v3.26.3 2023-04-04 14:59:48 -04:00
Brad King 69b7f58c44 Merge branch 'release-3.26' 2023-04-04 14:28:59 -04:00
Brad King 6ca41305c3 Merge branch 'release-3.25' 2023-04-04 14:28:51 -04:00
Brad King 1f6d3a2fc3 Merge branch 'release-3.24' 2023-04-04 14:28:41 -04:00
Brad King c980b562c6 Merge branch 'release-3.23' 2023-04-04 14:28:33 -04:00
Brad King 39b6e87b1d Merge topic 'test-xcode-14.3'
3bb46b29fd Tests: Teach RunCMake to ignore Xcode DVTCoreDeviceEnabledState warnings

Merge-request: !8392
2023-04-04 14:28:01 -04:00
Brad King 5a3a7abb9f Merge branch 'release-3.25' into release-3.26 2023-04-04 14:25:35 -04:00
Brad King 905b62c3c2 Merge branch 'release-3.24' into release-3.25 2023-04-04 14:24:58 -04:00
Brad King dc6ef0d9f2 Merge branch 'release-3.23' into release-3.24 2023-04-04 14:24:50 -04:00
Brad King 87812bbcd9 Merge topic 'test-xcode-14.3' into release-3.26
3bb46b29fd Tests: Teach RunCMake to ignore Xcode DVTCoreDeviceEnabledState warnings

Merge-request: !8392
2023-04-04 13:04:05 -04:00
Brad King 9b828e045a Merge branch 'test-xcode-14.3' into release-3.25
Merge-request: !8392
2023-04-04 13:03:49 -04:00
Brad King d27cff7ec4 Merge branch 'test-xcode-14.3' into release-3.24
Merge-request: !8392
2023-04-04 13:03:41 -04:00
Brad King 21f6ada301 Merge branch 'test-xcode-14.3' into release-3.23
Merge-request: !8392
2023-04-04 13:03:10 -04:00
Brad King 3bb46b29fd Tests: Teach RunCMake to ignore Xcode DVTCoreDeviceEnabledState warnings
On some Xcode versions, `xcodebuild` may warn:

    ... xcodebuild[...] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default

Teach RunCMake to drop such incidental lines before matching against
expected output.
2023-04-04 13:00:07 -04:00
Brad King 87b97464f7 Merge topic 'FindBLAS-LAPACK-vendor-var'
9d18426c47 Find{BLAS,LAPACK}: Prefer BLA_VENDOR cmake variable over env variable

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8387
2023-04-04 09:30:39 -04:00
Brad King 9831bb160a Merge topic 'pr/fix-cmake-mode-el'
915ef090c9 cmake-mode.el: escape shell arguments

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8386
2023-04-04 09:29:52 -04:00
Brad King 15a579339d Merge topic 'test-lcc-cmp0129'
9fd0ecdedb Tests: Fix RunCMake infrastructure for LCC and CMP0129

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8382
2023-04-04 09:29:05 -04:00
Brad King fdb03ed39f Merge branch 'release-3.26' 2023-04-04 09:27:16 -04:00
Brad King a8252cf0df Merge branch 'release-3.25' 2023-04-04 09:27:15 -04:00
Brad King b1144d783b Merge branch 'release-3.24' 2023-04-04 09:27:13 -04:00
Brad King c91e4f69c2 Merge branch 'release-3.23' 2023-04-04 09:27:11 -04:00
Brad King fca7e77bff Merge branch 'release-3.25' into release-3.26 2023-04-04 09:27:00 -04:00
Brad King 1dae4d9355 Merge branch 'release-3.24' into release-3.25 2023-04-04 09:26:46 -04:00
Brad King 741abe2540 Merge branch 'release-3.23' into release-3.24 2023-04-04 09:26:32 -04:00
Brad King c07e915adb Merge topic 'swift-xcode-14.3'
52dbfefe0d Xcode: Fix detection of Swift compiler location for Xcode 14.3

Merge-request: !8388
2023-04-04 09:26:01 -04:00
Brad King f8deb84120 Merge topic 'swift-xcode-14.3' into release-3.26
52dbfefe0d Xcode: Fix detection of Swift compiler location for Xcode 14.3

Merge-request: !8388
2023-04-04 09:24:57 -04:00
Kitware Robot 7764354a97 CMake Nightly Date Stamp 2023-04-04 00:01:06 -04:00
Brad King 636df83380 Merge branch 'swift-xcode-14.3' into release-3.25
Merge-request: !8388
2023-04-03 19:03:37 -04:00
Brad King 5db0c6cffc Merge branch 'swift-xcode-14.3' into release-3.24
Merge-request: !8388
2023-04-03 19:03:24 -04:00
Brad King 3b7809b769 Merge branch 'swift-xcode-14.3' into release-3.23
Merge-request: !8388
2023-04-03 19:02:56 -04:00
Brad King 52dbfefe0d Xcode: Fix detection of Swift compiler location for Xcode 14.3
Previously we tried to match output from `xcodebuild` to detect the
path to the `swiftc` tool.  This approach is used for C and CXX
for historical reasons, but is unnecessary for Swift.  We know the
name of the tool, so we can just ask `xcrun --find swiftc`.

Fixes: #24666
2023-04-03 18:59:57 -04:00
Brad King 9d18426c47 Find{BLAS,LAPACK}: Prefer BLA_VENDOR cmake variable over env variable
This is implied by the documentation, but was not implemented properly.

Fixes: #24664
2023-04-03 09:58:58 -04:00
Brad King 9fd0ecdedb Tests: Fix RunCMake infrastructure for LCC and CMP0129
Since commit 3958ed878f (LCC: Add policy CMP0129 regarding interpreting
LCC as GNU, 2021-10-19, v3.23.0-rc1~508^2) we intended to enable policy
`CMP0129` in RunCMake tests via `-DCMAKE_POLICY_DEFAULT_CMP0129=NEW`.
Fix the condition activating that to check `CMAKE_C_COMPILER_ID` where
it is always available.

Remove now-unnecessary CMP0129 settings in RunCMake cases.
2023-04-03 09:42:22 -04:00
Brad King 2c59598b91 Merge topic 'doc-lang-flags'
561ae21f40 Help: Clarify that {add,target}_compile_options are not used for linking
530faee017 Help: Clarify that CMAKE_<LANG>_FLAGS are used when driving linking
f93b13151e Help: Link to COMPILE_LANGUAGE genex from add_compile_options

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Alex <leha-bot@yandex.ru>
Merge-request: !8384
2023-04-03 09:00:37 -04:00
Brad King d6dff59590 Merge branch 'release-3.26' 2023-04-03 08:58:02 -04:00
Brad King fae8cda9c6 Merge branch 'release-3.25' 2023-04-03 08:58:00 -04:00
Brad King b5e972f629 Merge branch 'release-3.25' into release-3.26 2023-04-03 08:57:50 -04:00
Brad King 41aa59376e Merge branch 'release-3.26' 2023-04-03 08:56:56 -04:00
Brad King 997e5fa714 Merge topic 'vs-fortran-try_compile'
4da50fe3f4 VS: Remove extra try_compile argument in Intel Fortran check

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8383
2023-04-03 08:56:55 -04:00
Brad King 921ffd3070 Merge topic 'vs-fortran-try_compile' into release-3.26
4da50fe3f4 VS: Remove extra try_compile argument in Intel Fortran check

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8383
2023-04-03 08:56:54 -04:00
Kitware Robot 02f23be9a7 CMake Nightly Date Stamp 2023-04-03 00:01:20 -04:00
Kitware Robot 17b8d01e22 CMake Nightly Date Stamp 2023-04-02 00:01:07 -04:00
Kitware Robot 063c07e097 CMake Nightly Date Stamp 2023-04-01 00:01:07 -04:00
Zhengyi Fu 915ef090c9 cmake-mode.el: escape shell arguments
Shell arguments containing "<" or ">" should be escaped.  Otherwise,
names such as CMAKE_<LANG>_FLAGS will be treated as IO redirection.
2023-04-01 07:57:46 +08:00
Brad King 561ae21f40 Help: Clarify that {add,target}_compile_options are not used for linking
Link to alternatives that can be used for adding link options.

Issue: #24662
2023-03-31 11:30:51 -04:00
Brad King 530faee017 Help: Clarify that CMAKE_<LANG>_FLAGS are used when driving linking
State explicitly that these flags are used when driving either compiling
or linking.  For linking, document their order w.r.t. link flags
specified by commands.

Fixes: #24662
2023-03-31 11:01:13 -04:00
Brad King f93b13151e Help: Link to COMPILE_LANGUAGE genex from add_compile_options
Follow-up commit e2830cf16b (Help: Link to COMPILE_LANGUAGE genex
from target_compile_options, 2023-03-28).

Issue: #24639
2023-03-31 11:01:13 -04:00