Commit Graph

61203 Commits

Author SHA1 Message Date
Brad King f53bd6f450 Tests: Bump CMake minimum required in tests to 3.5
CMake 3.27 deprecates compatibility with CMake < 3.5.  Update tests that
do not cover older interfaces to avoid the deprecation warning.

Follow the pattern from:

* commit 7b07ccdd2b (Tests/*Only: Update cmake_minimum_required versions,
                     2020-06-15, v3.19.0-rc1~629^2~1)

* commit 72e7c45e98 (Tests: Bump CMake minimum required in tests to 2.8.12,
                     2020-12-22, v3.20.0-rc1~224^2)

* commit f6b4db365a (Tests: bump cmake_minimum_required version to 2.8.12,
                     2021-04-04, v3.21.0-rc1~372^2)

Also remove explicit `cmake_policy` settings made redundant by the
version.
2023-03-01 16:36:54 -05:00
Brad King 7b37ebe835 Merge branch 'release-3.26' 2023-03-01 10:43:40 -05:00
Brad King 6c0b3d2b7e CMake 3.26.0-rc5 v3.26.0-rc5 2023-03-01 09:43:05 -05:00
Brad King d8af11805a Merge branch 'release-3.26' 2023-03-01 09:36:36 -05:00
Brad King 532ca3e7c7 Merge topic 'check-curses-min-cmake'
d70582eed8 ccmake: Update minimum required version of CMake for curses check

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8272
2023-03-01 09:36:36 -05:00
Brad King fd05b428eb Merge topic 'check-curses-min-cmake' into release-3.26
d70582eed8 ccmake: Update minimum required version of CMake for curses check

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8272
2023-03-01 09:36:35 -05:00
Brad King 239ef6f108 Merge branch 'release-3.26' 2023-03-01 09:35:43 -05:00
Brad King d7df908fc5 Merge topic 'FindPython-fix-CMAKE_SHARED_LIBRARY_SUFFIX-matching'
764441e672 FindPython: fix erroneous ${CMAKE_SHARED_LIBRARY_SUFFIX} matching

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8271
2023-03-01 09:35:42 -05:00
Brad King e903268d67 Merge topic 'FindPython-fix-CMAKE_SHARED_LIBRARY_SUFFIX-matching' into release-3.26
764441e672 FindPython: fix erroneous ${CMAKE_SHARED_LIBRARY_SUFFIX} matching

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8271
2023-03-01 09:35:41 -05:00
Brad King 882abea3d8 Merge topic 'FindVulkan-mingw-cross-compiling'
829f1b5be4 FindVulkan: Add more search paths for MINGW when cross compiling

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8256
2023-03-01 09:22:53 -05:00
Brad King a6b4bbfa57 Merge topic 'csharp_sdk_win32_exe'
0dff040f10 VS : Support WIN32_EXECUTABLE on SDK style projects

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Sumit Bhardwaj <bhardwajs@outlook.com>
Merge-request: !8263
2023-03-01 09:22:05 -05:00
Brad King 0c30af2753 Merge topic 'remove-dart-modules'
2e469212c8 Dart,FindDart: Add policy to remove these modules
6dd2948b4b Tests: Port "testing" test from Dart module to CTest module
1f5ff4d131 Merge branch 'upstream-KWSys' into remove-dart-modules
ec3652a0bd KWSys 2023-02-28 (68534a6a)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !8265
2023-03-01 09:21:03 -05:00
Brad King d70582eed8 ccmake: Update minimum required version of CMake for curses check
This should have been part of commit d6b811fb82 (Require CMake 3.13+ to
configure CMake itself, 2022-02-22, v3.24.0-rc1~605^2~1).
2023-03-01 09:15:38 -05:00
Brad King 446e89b28b Merge branch 'release-3.26' 2023-03-01 09:12:53 -05:00
Brad King 1c1f67a77e Merge topic 'ci-package-pipeline'
7c60a2625d gitlab-ci: Optionally upload release packages to custom URL
fc8a981893 gitlab-ci: Generalize package and help upload URLs
f73649823b gitlab-ci: Stage unsigned release package artifacts in a dedicated directory
0929221ca3 gitlab-ci: Simplify Windows packaging pipeline
ce2e825306 gitlab-ci: Simplify macOS packaging jobs
05531a7c4e gitlab-ci: add pre-build and post-build steps to Windows
5ab92d8e71 gitlab-ci: add pre-build and post-build steps to macOS

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !8266
2023-03-01 09:12:53 -05:00
Brad King 43fd7f6adb Merge topic 'ci-package-pipeline' into release-3.26
7c60a2625d gitlab-ci: Optionally upload release packages to custom URL
fc8a981893 gitlab-ci: Generalize package and help upload URLs
f73649823b gitlab-ci: Stage unsigned release package artifacts in a dedicated directory
0929221ca3 gitlab-ci: Simplify Windows packaging pipeline
ce2e825306 gitlab-ci: Simplify macOS packaging jobs
05531a7c4e gitlab-ci: add pre-build and post-build steps to Windows
5ab92d8e71 gitlab-ci: add pre-build and post-build steps to macOS

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !8266
2023-03-01 09:12:52 -05:00
Brad King 299c37a21d Merge branch 'release-3.26' 2023-03-01 09:11:55 -05:00
Brad King 5691e7e900 Merge topic 'try-doc'
b6cfbe7b17 Help:try_{compile,run}: clarify, encourage new syntax

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8262
2023-03-01 09:11:55 -05:00
Brad King a5cf009c2a Merge topic 'try-doc' into release-3.26
b6cfbe7b17 Help:try_{compile,run}: clarify, encourage new syntax

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8262
2023-03-01 09:11:54 -05:00
Marc Chevrier 764441e672 FindPython: fix erroneous ${CMAKE_SHARED_LIBRARY_SUFFIX} matching
Fixes: #24556
2023-03-01 12:34:13 +01:00
Kitware Robot 8807292ef4 CMake Nightly Date Stamp 2023-03-01 00:01:15 -05:00
Brad King 7c60a2625d gitlab-ci: Optionally upload release packages to custom URL 2023-02-28 13:39:52 -05:00
Brad King fc8a981893 gitlab-ci: Generalize package and help upload URLs 2023-02-28 13:39:52 -05:00
Brad King f73649823b gitlab-ci: Stage unsigned release package artifacts in a dedicated directory
These artifacts need to be manually signed before distribution.
Move them to a dedicated `unsigned/` directory to avoid accidental
distribution without signing.
2023-02-28 13:39:52 -05:00
Brad King 0929221ca3 gitlab-ci: Simplify Windows packaging pipeline
In commit 4c7c66dcf5 (gitlab-ci: Add jobs to make Windows x86_64 and
i386 packages, 2022-05-19, v3.24.0-rc1~112^2) we used a separate Windows
packaging job in nightly packaging pipelines.  It did not run in release
pipelines, where we need to run the final packaging step manually with
signing.  Simplify nightly packaging pipelines by running `cpack` at the
end of the build job as we do for other platforms.

For release packaging pipelines, create an archive of the files needed
to build a package, and present this as the built "package" on Windows.
2023-02-28 13:39:44 -05:00
Brad King ce2e825306 gitlab-ci: Simplify macOS packaging jobs
Run cpack in a post-build step instead of duplicating the job script.
2023-02-28 10:18:31 -05:00
Brad King 05531a7c4e gitlab-ci: add pre-build and post-build steps to Windows
Apply the approach from commit 372ce5bffe (ci: add pre-build and
post-build steps to Linux, 2022-12-05, v3.26.0-rc1~225^2~1) to
build jobs on Windows.
2023-02-28 10:12:03 -05:00
Brad King 5ab92d8e71 gitlab-ci: add pre-build and post-build steps to macOS
Apply the approach from commit 372ce5bffe (ci: add pre-build and
post-build steps to Linux, 2022-12-05, v3.26.0-rc1~225^2~1) to
build jobs on macOS.
2023-02-28 10:12:03 -05:00
scivision b6cfbe7b17 Help:try_{compile,run}: clarify, encourage new syntax 2023-02-28 08:59:16 -05:00
Brad King 2e469212c8 Dart,FindDart: Add policy to remove these modules
These modules and the "DART" tool they support have long been replaced
by CTest.
2023-02-28 08:43:45 -05:00
Brad King 6dd2948b4b Tests: Port "testing" test from Dart module to CTest module 2023-02-28 08:35:19 -05:00
Brad King 1f5ff4d131 Merge branch 'upstream-KWSys' into remove-dart-modules
* upstream-KWSys:
  KWSys 2023-02-28 (68534a6a)
2023-02-28 08:35:02 -05:00
KWSys Upstream ec3652a0bd KWSys 2023-02-28 (68534a6a)
Code extracted from:

    https://gitlab.kitware.com/utils/kwsys.git

at commit 68534a6ae5bc4a8325334d693d3a6a9fda942a87 (master).

Upstream Shortlog
-----------------

Brad King (1):
      b4492d09 cmake: Drop use of legacy "Dart" module
2023-02-28 08:34:36 -05:00
Brad King 12d041b8f7 Merge topic 'target_sources-file_set-no-exist'
7e3f9aa1b2 target_sources: give a hint when a file named `FILE_SET` is not found

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8253
2023-02-28 08:32:04 -05:00
Brad King 8190d5e40b Merge topic 'FindX11-more-xcb-components'
0cca309dfd FindX11: support the xcb-{cursor,shape,xrm} components
e7d7710cf2 Tests/FindX11: fix preprocessor check for xcb_xrandr component

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8261
2023-02-28 08:30:05 -05:00
Brad King 40539096fd Merge topic 'dll-name-soversion'
a7f9c7da26 Add option to add SOVERSION to DLL names
9694504adc Tests: Simplify RunCMake.TargetArtifacts spec
3cd34eb279 Tests: Rename RunCMake.{ArtifactOutputDirs => TargetArtifacts}

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8021
2023-02-28 08:29:20 -05:00
Brad King 22a491c3ea Merge topic 'ci-linkcheck'
c28077ffb3 Help: Replace link with its permanent redirect

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8258
2023-02-28 08:20:52 -05:00
Brad King 293909694f Merge branch 'release-3.26' 2023-02-28 08:10:17 -05:00
Brad King 60c50d4e51 Merge topic 'test-no-dart'
2fc3b0f476 Tests: Drop use of legacy "Dart" module

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8257
2023-02-28 08:10:16 -05:00
Brad King 47975e6018 Merge topic 'test-no-dart' into release-3.26
2fc3b0f476 Tests: Drop use of legacy "Dart" module

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8257
2023-02-28 08:10:15 -05:00
Brad King 0fd241b80c Merge branch 'release-3.26' 2023-02-28 08:08:00 -05:00
Brad King 4902970328 Merge topic 'doc-cleanup-3.26-rc4'
b39b3e3bdb Help: Fix typos and grammar in 3.26 release notes
9f1360ae19 Help: Improve wording of FOLDER-related properties and policies

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8264
2023-02-28 08:07:59 -05:00
Brad King 7b0c4b060b Merge topic 'doc-cleanup-3.26-rc4' into release-3.26
b39b3e3bdb Help: Fix typos and grammar in 3.26 release notes
9f1360ae19 Help: Improve wording of FOLDER-related properties and policies

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8264
2023-02-28 08:07:58 -05:00
Craig Scott b39b3e3bdb Help: Fix typos and grammar in 3.26 release notes 2023-02-28 21:24:56 +11:00
Olivier PENA 0dff040f10 VS : Support WIN32_EXECUTABLE on SDK style projects 2023-02-28 09:25:09 +01:00
Ralf Habacker 829f1b5be4 FindVulkan: Add more search paths for MINGW when cross compiling
Fixes: #24536
2023-02-28 08:32:01 +01:00
Kitware Robot e4b56c8224 CMake Nightly Date Stamp 2023-02-28 00:01:10 -05:00
Ben Boeckel 0cca309dfd FindX11: support the xcb-{cursor,shape,xrm} components
Fixes: #24417
2023-02-27 17:40:48 -05:00
Ben Boeckel e7d7710cf2 Tests/FindX11: fix preprocessor check for xcb_xrandr component 2023-02-27 17:40:31 -05:00
Brad King 2fc3b0f476 Tests: Drop use of legacy "Dart" module
Use the CTest module directly.
2023-02-27 09:30:04 -05:00