Brad King
622044ce33
CMake 3.31.9
2025-09-24 13:24:34 -04:00
Brad King
dbe9d4593f
CMake 3.31.8
2025-06-12 09:51:05 -04:00
Brad King
a26c23a7e0
Merge branch 'release-3.30' into release-3.31
2025-06-11 11:56:14 -04:00
Brad King
50aa13cc5a
CMake 3.30.9
2025-06-11 10:46:07 -04:00
Brad King
7b16db932a
CMake 3.31.7
2025-04-10 09:13:20 -04:00
Peter Kokot
bbbbab4661
Help: Add 3.31 release note for CMAKE_CONFIG_DIR
...
This was accidentally left out of commit 1df94443fe (fileapi: Add
support for user-wide queries, 2024-08-16, v3.31.0-rc1~177^2).
2025-03-17 11:57:15 -04:00
Brad King
859ca5c4d7
CMake 3.31.6
2025-02-24 10:53:17 -05:00
Brad King
1e2e9ceccf
Merge branch 'release-3.30' into release-3.31
2025-02-24 10:43:52 -05:00
Brad King
2bd6fbe1b0
CMake 3.30.8
2025-02-24 10:09:52 -05:00
Brad King
9fe70fd764
CMake 3.31.5
2025-01-23 10:53:36 -05:00
Brad King
ba5aaa73ba
Merge branch 'release-3.30' into release-3.31
2025-01-23 10:40:25 -05:00
Brad King
d437178a10
CMake 3.30.7
2025-01-23 09:59:38 -05:00
Brad King
569b821a13
CMake 3.31.4
2025-01-10 09:59:02 -05:00
Brad King
41abd532b6
CMake 3.31.3
2024-12-19 10:18:19 -05:00
Brad King
f27ba9768b
Merge topic 'ctest-invalid-arg' into release-3.31
...
30dded462a Help: Add 3.30 release note for error on unknown arguments to ctest
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10106
2024-12-17 10:54:53 -05:00
Brad King
30dded462a
Help: Add 3.30 release note for error on unknown arguments to ctest
...
This was left out of commit 304396d13c (ctest: Show error on invalid
ctest arguments, 2024-04-03, v3.30.0-rc1~286^2).
Fixes : #26539
2024-12-17 10:32:05 -05:00
Brad King
793c5f11f6
CMake 3.31.2
2024-12-05 08:42:47 -05:00
Brad King
eb281d3454
CMake 3.31.1
2024-11-21 11:15:52 -05:00
Brad King
0576d076b1
Merge branch 'release-3.30' into release-3.31
2024-11-21 09:54:18 -05:00
Brad King
817707b904
CMake 3.30.6
2024-11-21 09:18:01 -05:00
Brad King
0349079e35
Merge branch 'release-3.30' into release-3.31
2024-11-21 09:12:04 -05:00
Brad King
66817bd07d
Merge branch 'release-3.29' into release-3.30
2024-11-21 09:11:40 -05:00
Brad King
b47368e425
CMake 3.29.9
2024-11-21 08:34:26 -05:00
Peter Kokot
6aa2e22300
Help: Add 3.31 release note for cmake_parse_arguments CMP0174
...
This was left out by commit ceeea4e511 (cmake_parse_arguments: Set
variable if empty string given after keyword, 2024-08-18,
v3.31.0-rc1~175^2).
2024-10-28 09:51:27 -04:00
Brad King
98ccd8800a
Merge topic 'doc-rel-3.31' into release-3.31
...
315a8f88cc Help: Add 3.31 release note for file(MAKE_DIRECTORY)'s RESULT option
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9904
2024-10-15 13:57:26 -04:00
Brad King
c7e27f02e8
Merge topic 'doc-rel-3.29' into release-3.31
...
0e81c12483 Help: Add 3.29 release note for try_compile LINKER_LANGUAGE option
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9905
2024-10-15 13:54:54 -04:00
Brad King
e3ebf4f5c0
Merge topic 'doc-rel-3.29' into release-3.30
...
0e81c12483 Help: Add 3.29 release note for try_compile LINKER_LANGUAGE option
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9905
2024-10-15 13:34:08 -04:00
Brad King
0e81c12483
Help: Add 3.29 release note for try_compile LINKER_LANGUAGE option
...
In commit 0f37000304 (try_{compile,run}: add LINKER_LANGUAGE option,
2023-10-12, v3.29.0-rc1~567^2) a release note was accidentally added in
the wrong directory and so was not included in the 3.29 release notes.
2024-10-15 13:30:04 -04:00
Peter Kokot
315a8f88cc
Help: Add 3.31 release note for file(MAKE_DIRECTORY)'s RESULT option
...
In commit 95323c90a1 (file(MAKE_DIRECTORY): Add optional RESULT keyword
to capture failure., 2024-06-16, v3.31.0-rc1~414^2) the release note was
added in the wrong directory so it was not gathered for the 3.31 release.
Fixes : #26377
2024-10-15 13:27:30 -04:00
Brad King
801c94085f
Help: Drop development topic notes to prepare release
...
Release versions do not have the development topic section of
the CMake Release Notes index page.
2024-10-09 10:01:05 -04:00
Brad King
738cf491d4
Help: Organize and revise 3.31 release notes
...
Add section headers similar to the 3.30 release notes and move each
individual bullet into an appropriate section. Revise a few bullets.
2024-10-09 09:32:21 -04:00
Brad King
fae66f4751
Help: Consolidate 3.31 release notes
...
Run the `Utilities/Release/consolidate-relnotes.bash` script to move
notes from `Help/release/dev/*` into `Help/release/3.31.rst`.
2024-10-09 09:32:02 -04:00
Craig Scott
e5a9ccbcc8
project: Always set <PROJECT-NAME>_* as normal variables
...
Re-introduce the behavior originally introduced in CMake 3.30.3 by
commit c1ece78d11 (project: non cache <project> prefix variables are
also created, 2024-08-27, v3.30.3~2^2), but this time with a policy for
compatibility.
Issue: #25714
Issue: #26243
2024-10-08 10:07:11 -04:00
Brad King
ddf1d2944f
Merge branch 'release-3.30'
2024-10-08 09:23:28 -04:00
Brad King
9c4a0a9ff0
CMake 3.30.5
2024-10-08 08:56:04 -04:00
Brad King
51eb713098
Merge topic 'FindOpenMP-CUDA-Clang'
...
a4b60d948d FindOpenMP: Add support for CUDA when compiling with Clang
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9886
2024-10-08 08:49:03 -04:00
Brad King
dc371e07fb
Merge topic 'project-vars'
...
fa07ddfebf project: Only check non-cache vars when setting project vars
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !9883
2024-10-08 08:45:26 -04:00
Brad King
a4b60d948d
FindOpenMP: Add support for CUDA when compiling with Clang
2024-10-07 14:19:08 -04:00
Craig Scott
fa07ddfebf
project: Only check non-cache vars when setting project vars
...
The change in commit 86ad7cc886 (project: Only define non-cache vars if
already defined, 2024-09-15, v3.30.4~2^2) was meant to only check for
non-cache variables when deciding whether to set non-cache project
variables for the current call. However, it erroneously checked for any
variable, including cache variables. This gives the intended result on
the first run, but on subsequent runs a cache variable will exist that
did not on the first run, leading to different behavior between the two
runs. Fix the logic to only check for a pre-existing non-cache
variable, as was originally intended.
Fixes : #26355
2024-10-07 10:24:37 -04:00
Brad King
5b7ab1818b
Merge topic 'cmake--workflow-preset'
...
b80aa1d3a3 preset: Easier command line interface for Workflow Presets
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: scivision <michael@scivision.dev >
Merge-request: !9866
2024-10-07 09:11:48 -04:00
Brad King
9a14348a2c
Merge topic 'GoogleTest-DISCOVERY_EXTRA_ARGS'
...
2dcba446e2 GoogleTest: Add DISCOVERY_EXTRA_ARGS to gtest_discover_tests()
f55f9fd5c1 Help: Mention TEST_LIST with gtest_discover_tests() can omit tests
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !9856
2024-10-07 09:10:44 -04:00
Kevin Tolle
b80aa1d3a3
preset: Easier command line interface for Workflow Presets
...
A positional option allows 'cmake --workflow --preset <preset>' to be
shortened to 'cmake --workflow <preset>'.
Fixes : #26270
2024-10-05 16:08:44 +10:00
Cedric Martineau
2dcba446e2
GoogleTest: Add DISCOVERY_EXTRA_ARGS to gtest_discover_tests()
...
Fixes : #26261
Co-authored-by: Craig Scott <craig.scott@crascit.com >
2024-10-04 18:12:30 +10:00
Brad King
84db8506ff
Deprecate compatibility with CMake versions older than 3.10
...
Issue a deprecation warning on calls to `cmake_minimum_required` or
`cmake_policy` that set policies based on versions older than 3.10.
Note that the effective policy version includes `...<max>` treatment.
Update the check from commit 3a4791548d (Deprecate compatibility with
CMake versions older than 3.5, 2023-02-09, v3.27.0-rc1~508^2).
2024-10-03 14:18:26 -04:00
Brad King
e78ae03893
Merge topic 'cmake-host-executable-suffix'
...
5d2b89d5fa Add CMAKE_HOST_EXECUTABLE_SUFFIX for Unix/Windows
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: shiz01 <shiz01@tutanota.com >
Merge-request: !9863
2024-10-03 08:07:39 -04:00
leha-bot
5d2b89d5fa
Add CMAKE_HOST_EXECUTABLE_SUFFIX for Unix/Windows
...
Closes : #17553
2024-10-02 10:39:40 -04:00
Marc Chevrier
cd418d4bb6
Static libraries de-duplication: keep first occurrence
...
Fixes : #26335
2024-10-02 10:17:08 -04:00
Brad King
823e0a3a61
Merge topic 'preserve-empty-args-test-command-lines'
...
fc7aa3cd69 tests: Preserve empty arguments in test command lines
9f1703530b Help: Add pre-test to prose for gtest_discover_tests()
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9575
2024-10-02 08:11:57 -04:00
Craig Scott
fc7aa3cd69
tests: Preserve empty arguments in test command lines
...
This will now preserve empty values in the TEST_LAUNCHER and
CROSSCOMPILING_EMULATOR target properties for tests added by:
- The add_test() command.
- The ExternalData_Add_Test() command from the ExternalData module.
- The gtest_add_tests() or gtest_discover_tests() commands from the
GoogleTest module.
For the gtest_add_tests() and gtest_discover_tests() commands,
empty elements in the values passed after the EXTRA_ARGS keyword
are also now preserved.
Policy CMP0178 is added to provide backward compatibility with the
old behavior where empty values were silently discarded from the
above cases.
Fixes : #26337
2024-10-02 10:09:11 +10:00
Brad King
8f4cea94da
FindOpenMP: Add support for CUDA when supported by the toolchain
...
NVCC supports OpenMP on the host when the host compiler does.
2024-09-27 16:45:24 -04:00