Peter Kokot
1d72b4da10
TestCXXAcceptsFlag: Update documentation
...
- Also CheckCompilerFlag module suggested in the deprecation notice
- Lowercase style used for macro
- Descriptions extended
- Added examples
2025-03-24 16:42:14 +01:00
Kitware Robot
5cc08a4563
CMake Nightly Date Stamp
2025-03-23 00:04:46 -04:00
Kitware Robot
1c07011300
CMake Nightly Date Stamp
2025-03-22 00:04:22 -04:00
Brad King
581f88692f
Merge branch 'release-4.0'
2025-03-21 10:16:39 -04:00
Brad King
0cd7adb881
CMake 4.0.0-rc5
2025-03-21 09:34:42 -04:00
Brad King
03fcc1cb21
Merge branch 'release-4.0'
2025-03-21 09:32:52 -04:00
Brad King
b167d25104
Merge topic 'FindQt4-QT4_FOUND'
...
dfa2b58cb6
FindQt4: Restore QT4_FOUND setting
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10496
2025-03-21 09:32:52 -04:00
Brad King
8a52fdb949
Merge topic 'FindQt4-QT4_FOUND' into release-4.0
...
dfa2b58cb6
FindQt4: Restore QT4_FOUND setting
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10496
2025-03-21 09:32:46 -04:00
Brad King
9e3cf9760e
Merge topic 'diab_toolchain_tests'
...
7624d0110b
Diab: Add tests covering the Diab toolchains
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10412
2025-03-21 08:49:30 -04:00
Peter Kokot
dfa2b58cb6
FindQt4: Restore QT4_FOUND setting
...
Commit 1a8e43d57d
(FindPackageHandleStandardArgs: Clarify the FOUND_VAR
option, 2024-12-31, v4.0.0-rc1~247^2) simplified the
`<PackageName>_FOUND` and `<PACKAGENAME>_FOUND` variables one step
further but missed that this specific module sets the `QT4_FOUND`
variable also for the case where `find_package_handle_standard_args()`
isn't called (for example, when the found package is Qt3 or Qt5 and
later). Restore the `set()` call in case `QT4_FOUND` is used in the
code.
2025-03-21 08:36:57 -04:00
Brad King
43dad58f63
Merge branch 'release-4.0'
2025-03-21 08:32:50 -04:00
Brad King
8230f0d1e7
Merge branch 'release-3.31'
2025-03-21 08:32:44 -04:00
Brad King
761f1201c6
Merge branch 'release-3.31' into release-4.0
2025-03-21 08:32:31 -04:00
Brad King
a853030497
Merge branch 'release-4.0'
2025-03-21 08:07:16 -04:00
Brad King
c8f4ae9ccf
Merge topic 'GNU-linker-pushpop_state-detection'
...
d5be7c7f31
Linker: Detect GNU push-state/pop-state flags more robustly
7b552b9a64
Linker: Save GNU push-/pop-state detection with compiler inspection results
a9b126b0da
Linker: Save linker inspection results with compiler inspection results
3f5f2b2d49
Linker: Honor CMAKE_<LANG>_LINK_LIBRARY_USING_FEATURE_SUPPORTED when FALSE
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10468
2025-03-21 08:07:16 -04:00
Brad King
8214004200
Merge topic 'GNU-linker-pushpop_state-detection' into release-4.0
...
d5be7c7f31
Linker: Detect GNU push-state/pop-state flags more robustly
7b552b9a64
Linker: Save GNU push-/pop-state detection with compiler inspection results
a9b126b0da
Linker: Save linker inspection results with compiler inspection results
3f5f2b2d49
Linker: Honor CMAKE_<LANG>_LINK_LIBRARY_USING_FEATURE_SUPPORTED when FALSE
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10468
2025-03-21 08:07:13 -04:00
Brad King
e3c5a561a3
Merge topic 'GNU-linker-pushpop_state-detection' into release-3.31
...
d5be7c7f31
Linker: Detect GNU push-state/pop-state flags more robustly
7b552b9a64
Linker: Save GNU push-/pop-state detection with compiler inspection results
a9b126b0da
Linker: Save linker inspection results with compiler inspection results
3f5f2b2d49
Linker: Honor CMAKE_<LANG>_LINK_LIBRARY_USING_FEATURE_SUPPORTED when FALSE
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10468
2025-03-21 08:06:00 -04:00
Kitware Robot
3b89df520d
CMake Nightly Date Stamp
2025-03-21 00:04:32 -04:00
Marc Chevrier
d5be7c7f31
Linker: Detect GNU push-state/pop-state flags more robustly
...
Try actually passing them to the linker to see whether it complains.
Fixes : #26766
2025-03-20 11:00:02 -04:00
Marc Chevrier
7b552b9a64
Linker: Save GNU push-/pop-state detection with compiler inspection results
...
Previously we saved it in the cache, which:
* Persists even if a new version of CMake changes how the check works.
* Does not propagate to `try_compile` checks.
2025-03-20 11:00:02 -04:00
Marc Chevrier
a9b126b0da
Linker: Save linker inspection results with compiler inspection results
...
Reconfigure `CMake<LANG>Compiler.cmake` again after linker information
is detected.
2025-03-20 11:00:02 -04:00
Marc Chevrier
3f5f2b2d49
Linker: Honor CMAKE_<LANG>_LINK_LIBRARY_USING_FEATURE_SUPPORTED when FALSE
...
It is documented to override `CMAKE_LINK_LIBRARY_USING_FEATURE_SUPPORTED`.
2025-03-20 10:59:01 -04:00
Brad King
4ba2692172
Merge topic 'ci-sign-windows'
...
1f46bc299b
ci: Extend packaging pipeline to sign Windows binaries automatically
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10494
2025-03-20 09:16:34 -04:00
Brad King
0a69e10cbf
Merge topic 'FindVulkan-debug-libraries'
...
74bb57cae9
FindVulkan: Search for dxc / volk debug libraries
7c7c7721e9
FindVulkan: Fix test
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10475
2025-03-20 09:15:16 -04:00
Brad King
6de252e6a1
Merge topic 'patch-CMakeAddFortranSubdirectory'
...
47805ca590
CMakeAddFortranSubdirectory: Update documentation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10492
2025-03-20 09:12:46 -04:00
Brad King
97246b2083
Merge topic 'ctest-schedule-random-seed'
...
d3455f38de
ctest: Add option to specify the --schedule-random seed
3dc8e59bdc
ctest: Record --schedule-random seed in test log
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: Nadav Tenenbaum <tnadav@gmail.com>
Acked-by: Hagai Cohen <hagai.co@gmail.com>
Acked-by: Toplica Tanasković <toplicius@gmail.com>
Acked-by: Itay Bookstein <itay.bookstein@nextsilicon.com>
Acked-by: Ilan Tayari <ilan@nextsilicon.com>
Acked-by: Adnan Hodzic <adnan.hodzic@nextsilicon.com>
Merge-request: !10488
2025-03-20 09:11:24 -04:00
Brad King
f1899404e7
Merge branch 'release-4.0'
2025-03-20 08:54:25 -04:00
Brad King
a28d24ce13
Merge topic 'pkgc-variable-docs'
...
8817f3b131
PkgC: Document cmake variables
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10493
2025-03-20 08:54:24 -04:00
Brad King
68475b77d2
Merge topic 'pkgc-variable-docs' into release-4.0
...
8817f3b131
PkgC: Document cmake variables
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10493
2025-03-20 08:54:21 -04:00
Kitware Robot
04e3bd98ce
CMake Nightly Date Stamp
2025-03-20 00:04:36 -04:00
Brad King
1f46bc299b
ci: Extend packaging pipeline to sign Windows binaries automatically
...
Split packaging on Windows into dedicated jobs that run with access to
an EV signing certificate.
Prior to commit 0929221ca3
(gitlab-ci: Simplify Windows packaging
pipeline, 2023-02-28, v3.26.0-rc5~3^2~3) we had separate packaging jobs,
but they did not run in release packaging pipelines. Restore them, and
run them in both nightly and release packaging pipelines.
2025-03-19 11:22:30 -04:00
lumina37
74bb57cae9
FindVulkan: Search for dxc / volk debug libraries
...
Fixes : #25722
Signed-off-by: lumina37 <starry.qvq@gmail.com>
2025-03-19 09:14:53 -04:00
lumina37
7c7c7721e9
FindVulkan: Fix test
...
Co-authored-by: Juan Ramos <cmake@jpr.mozmail.com>
2025-03-19 09:14:32 -04:00
Brad King
26631da58a
Merge branch 'release-4.0'
2025-03-19 09:05:56 -04:00
Brad King
deb44bdf73
Merge topic 'instrumentation-snippet-names'
...
39f365ec3c
instrumentation: Unique snippet file names
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10491
2025-03-19 09:05:56 -04:00
Brad King
f3ac37fe8a
Merge topic 'instrumentation-snippet-names' into release-4.0
...
39f365ec3c
instrumentation: Unique snippet file names
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10491
2025-03-19 09:05:54 -04:00
Vito Gamberini
8817f3b131
PkgC: Document cmake variables
2025-03-19 07:58:31 -04:00
Kitware Robot
d769493bf2
CMake Nightly Date Stamp
2025-03-19 00:04:42 -04:00
Peter Kokot
47805ca590
CMakeAddFortranSubdirectory: Update documentation
...
This adds few improvements to the CMakeAddFortranSubdirectory module
documentation.
- Added a basic usage example and "See Also" section
- Function arguments are described separate from the function signature.
2025-03-19 02:00:02 +01:00
Daniel Goldberg
d3455f38de
ctest: Add option to specify the --schedule-random seed
...
When `--schedule-random` is used in automated CI jobs, failures may
occur due to test order. We now log the seed. Provide a way for
developers to re-run the same order by specifying the seed.
Fixes : #26760
Co-authored-by: Brad King <brad.king@kitware.com>
2025-03-18 14:17:59 -04:00
Daniel Goldberg
3dc8e59bdc
ctest: Record --schedule-random seed in test log
...
Issue: #26760
Signed-off-by: Daniel Goldberg <daniel.goldberg@nextsilicon.com>
2025-03-18 13:45:41 -04:00
Martin Duffy
39f365ec3c
instrumentation: Unique snippet file names
...
Updates the hash in snippet file naming to take the ProcessId into account
so that snippets with identical commands don't risk a collision in filename.
Additionally, this adds a `workingDir` to snippet files so that snippets with
identical commands can be more easily differentiated, such as with install
snippets.
2025-03-18 13:23:02 -04:00
Sanjiv Gupta
7624d0110b
Diab: Add tests covering the Diab toolchains
...
Run the tests only if enabled explicitly by an undocumented cache
entry. We will enable it on hosts known to have the toolchains.
Closes : #26735
2025-03-18 13:18:55 -04:00
Brad King
03d57336ab
Merge branch 'release-4.0'
2025-03-18 13:11:59 -04:00
Brad King
20bb463acc
Merge topic 'aix-export-tbss'
...
e9c772404b
AIX: Consider tbss symbols in ExportImportList
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10486
2025-03-18 13:11:58 -04:00
Brad King
f1e1124e7e
Merge topic 'aix-export-tbss' into release-4.0
...
e9c772404b
AIX: Consider tbss symbols in ExportImportList
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10486
2025-03-18 13:11:56 -04:00
Aditya Vidyadhar Kamath
e9c772404b
AIX: Consider tbss symbols in ExportImportList
...
Export `tbss` (thread variable but part of `bss` section) variables, e.g.:
[125] m 0x00000010 .tbss 1 extern s2n_errno
[126] a4 0x00000004 0 0 CM UL - -
2025-03-18 09:56:26 -04:00
Brad King
6987e87032
Merge topic 'json-parse-errors'
...
bed7e90bae
cmJSONState: Use StructuredErrors when available
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10472
2025-03-18 09:54:15 -04:00
Brad King
81210b0098
Merge topic 'patch-MacroAddFileDependencies'
...
cdda7d044d
Qt4Macros: Replace obsolete/deprecated macro_add_file_dependencies()
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10481
2025-03-18 09:52:23 -04:00
Brad King
5ea47acecc
Merge topic 'patch-AddFileDependencies'
...
7dc53c5362
KDE3Macros: Replace obsolete/deprecated add_file_dependencies()
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10482
2025-03-18 09:51:17 -04:00