Peter Kokot
acba9cb083
execute_process: Document {OUTPUT,ERROR}_STRIP_TRAILING_WHITESPACE
2025-03-21 03:02:10 +01: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
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
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
Vito Gamberini
8817f3b131
PkgC: Document cmake variables
2025-03-19 07:58:31 -04: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
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
Brad King
ff197bc744
Merge topic 'patch-debug-configurations'
...
99546ef425
Help: Improve DEBUG_CONFIGURATIONS documentation and usage
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10477
2025-03-18 09:42:51 -04:00
Brad King
aecd6bcb1b
Merge topic 'doc-CMAKE_CONFIG_DIR'
...
bbbbab4661
Help: Add 3.31 release note for CMAKE_CONFIG_DIR
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10474
2025-03-18 09:21:05 -04:00
Brad King
a64c571a32
Merge topic 'doc-CMAKE_CONFIG_DIR' into release-4.0
...
bbbbab4661
Help: Add 3.31 release note for CMAKE_CONFIG_DIR
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10474
2025-03-18 09:21:03 -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
c005babf89
Merge topic 'pkgc-name-prefix'
...
f59bab006d
PkgC: Add NAME and PREFIX
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10473
2025-03-17 11:52:18 -04:00
Peter Kokot
99546ef425
Help: Improve DEBUG_CONFIGURATIONS documentation and usage
...
This adds a short example demonstrating how to set this property.
Additionally, a paragraph is added to the target_link_libraries() and
its debug/optimized keywords to mention that imported targets with
IMPORTED_CONFIGURATIONS property may provide better alternative for
linking.
2025-03-15 15:47:51 +01:00
Vito Gamberini
f59bab006d
PkgC: Add NAME and PREFIX
...
Fixes : #26067
2025-03-14 15:17:27 -04:00
Martin Duffy
40039ddbac
Help: Document backtrace member of link commandFragments in FileApi manual
2025-03-14 11:18:48 -04:00
Brad King
85d1b74386
Merge topic 'pdb-name-genex-support'
...
15a1769bd8
GenEx: Add support for PDB_NAME and COMPILE_PDB_NAME
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Acked-by: nicolas loxol <nicolas.loxol@gmail.com>
Acked-by: Giacomo Rombaut <giacomo.rombaut@gmail.com>
Merge-request: !10418
2025-03-12 09:12:12 -04:00
Brad King
b7abc78e6c
Merge topic 'pkg-config-import-populate'
...
28a92bde80
PkgC: Implement cmake_pkg_config IMPORT / POPULATE
7f172faca5
Help: Add install() section heading for common options
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10393
2025-03-12 09:06:04 -04:00
Vito Gamberini
28a92bde80
PkgC: Implement cmake_pkg_config IMPORT / POPULATE
...
Issue: #26067
2025-03-11 11:24:07 -04:00
Giacomo Rombaut
15a1769bd8
GenEx: Add support for PDB_NAME and COMPILE_PDB_NAME
...
Closes : #26729
2025-03-11 10:28:12 -04:00
Brad King
f65fcde174
Merge topic 'document-cps-components-resolution'
...
dd8bf95271
Help: Document handling of CPS transitive components
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10434
2025-03-10 10:19:04 -04:00
Matthew Woehlke
dd8bf95271
Help: Document handling of CPS transitive components
...
Add documentation explaining how CMake handles component requests of a
CPS transitive dependency.
2025-03-07 13:19:43 -05:00
Brad King
5d510ae8a0
Merge topic 'genex-fix-target-pdb-base-name'
...
fe11677945
GenEx: Fix TARGET_PDB_FILE_BASE_NAME with PDB_NAME and DEBUG_POSTFIX
434c289f3b
Help: Clarify references to <CONFIG>_POSTFIX target properties
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10431
2025-03-07 12:18:28 -05:00
Brad King
fbe6d9ed2e
Merge topic 'compile-pdb-output-directory-manual-genex'
...
b66dbdb6f1
Help: Document COMPILE_PDB_OUTPUT_DIRECTORY genex support
6080449551
Help: Document when PDB_OUTPUT_DIRECTORY gained genex support
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10430
2025-03-07 12:17:05 -05:00
Brad King
434c289f3b
Help: Clarify references to <CONFIG>_POSTFIX target properties
...
Update wording added by commit 6e5ccabe9b
(Genex: Update
$<TARGET_FILE_BASE_NAME:...>: take care of POSTFIX, 2019-04-25,
v3.15.0-rc1~175^2) to associate references to the `<CONFIG>_POSTFIX`
properties with references to the `OUTPUT_NAME` properties because
they are both used together. Avoid association with the `PDB_NAME`
properties because they cause `<CONFIG>_POSTFIX` to be ignored.
2025-03-06 11:32:20 -05:00
Giacomo Rombaut
b66dbdb6f1
Help: Document COMPILE_PDB_OUTPUT_DIRECTORY genex support
...
The change in commit 79ca546ed2
(Add generator expression support to
PDB_OUTPUT_DIRECTORY target property, 2018-05-17, v3.12.0-rc1~65^2)
added genex support for `COMPILE_PDB_OUTPUT_DIRECTORY` too, but it
was not documented.
Fixes : #26745
2025-03-06 08:16:40 -05:00
Brad King
6080449551
Help: Document when PDB_OUTPUT_DIRECTORY gained genex support
2025-03-06 08:14:41 -05:00
Brad King
de7168c097
Merge topic 'remove-kfreebsd'
...
99c8abed55
kFreeBSD: Remove support for obsolete platform
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10410
2025-03-06 07:57:22 -05:00
Roger Leigh
99c8abed55
kFreeBSD: Remove support for obsolete platform
...
kFreeBSD is no longer maintained or supported and was never an
officially-supported release architecture for Debian.
Closes : #26742
2025-03-05 11:57:49 -05:00
Marc Chevrier
5c1521c54d
FindPython: enforce artifacts consistency when cross-compiling
...
Fixes : #26696
2025-03-05 17:11:56 +01:00
Brad King
3524abf345
Merge topic 'build-database-fixes'
...
12d73c9f78
cmExperimental: recycle build database uuid
d02ca76184
cmDyndepCollation: record required modules to the build database
8a773168fd
Tests/CXXModules: help diagnose build database errors
7ca4ac8e13
cmBuildDatabase: fix language comparison for visibility
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10414
2025-03-05 08:32:50 -05:00
Brad King
0af6821799
Merge topic 'cpack-rpm-weak-deps-tags'
...
14baa13ab8
CPack/RPM: Add support for all weak dependency tags
847f515934
Tests: Simplify RunCMake.CPack_RPM.SUGGESTS expected output
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10415
2025-03-04 08:47:25 -05:00
Brad King
f8b284cb3e
Merge topic 'fix-cps-component-documentation'
...
b8d4c58e6c
Merge branch 'backport-fix-cps-component-documentation' into fix-cps-component-documentation
76e11bd4ea
Help: Fix find_package documentation about CPS and COMPONENTS
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10405
2025-03-04 08:45:07 -05:00
Brad King
455f2249bc
Merge topic 'fix-cps-component-documentation' into release-4.0
...
76e11bd4ea
Help: Fix find_package documentation about CPS and COMPONENTS
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10405
2025-03-04 08:45:06 -05:00
Ben Boeckel
12d73c9f78
cmExperimental: recycle build database uuid
2025-03-03 22:03:27 +01:00
Matthew Woehlke
b8d4c58e6c
Merge branch 'backport-fix-cps-component-documentation' into fix-cps-component-documentation
...
* backport-fix-cps-component-documentation:
Help: Fix find_package documentation about CPS and COMPONENTS
2025-03-03 11:49:46 -05:00
Kitware Robot
1772622772
LICENSE: Replace references to Copyright.txt with LICENSE.rst
...
```
git grep -lz 'Copyright.txt or https://cmake.org/licensing ' |
while IFS= read -r -d $'\0' f ; do
sed -i '/Copyright.txt or https:\/\/cmake.org\/licensing / {
s/Copyright.txt/LICENSE.rst/
}' "$f" ; done
```
2025-03-03 10:43:35 -05:00
Kitware Robot
de273b2e11
LICENSE: Replace references to Copyright.txt with LICENSE.rst
...
```
git grep -lz 'Copyright.txt or https://cmake.org/licensing ' |
while IFS= read -r -d $'\0' f ; do
sed -i '/Copyright.txt or https:\/\/cmake.org\/licensing / {
s/Copyright.txt/LICENSE.rst/
}' "$f" ; done
```
2025-03-03 09:56:07 -05:00
Balazs Kosaras
14baa13ab8
CPack/RPM: Add support for all weak dependency tags
...
Co-authored-by: Brad King <brad.king@kitware.com>
2025-03-03 09:09:15 -05:00
Brad King
d1812031a8
Merge topic 'Help-CMAKE_LANG_LINK_MODE-clarify_usage'
...
b0d0a8d54f
Help: CMAKE_LANG_LINK_MODE: clarify usage.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10411
2025-03-03 08:57:49 -05:00
Marc Chevrier
b0d0a8d54f
Help: CMAKE_LANG_LINK_MODE: clarify usage.
2025-03-02 13:57:30 +01:00
Peter Kokot
d9de3fe322
cmake_host_system_information: Extend fallback script example
...
This fixes some typos and extends example how to use the
CMAKE_GET_OS_RELEASE_FALLBACK_SCRIPTS list variable.
2025-02-28 23:22:24 +01:00
Matthew Woehlke
76e11bd4ea
Help: Fix find_package documentation about CPS and COMPONENTS
...
The recent addition of component handling for CPS neglected to update
the documentation of how find_package handles component requests when
importing from CPS. Make those changes now.
2025-02-28 17:00:00 -05:00
Brad King
31d7ae793a
Merge topic 'cpack-rpm-docs'
...
7ae85338ca
CPack/RPM: Normalize documentation wording about quoting requirements
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10402
2025-02-28 16:21:32 -05:00
Brad King
62321f299c
Merge topic 'cpack-rpm-docs' into release-4.0
...
7ae85338ca
CPack/RPM: Normalize documentation wording about quoting requirements
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10402
2025-02-28 16:21:31 -05:00
Balazs Kosaras
7ae85338ca
CPack/RPM: Normalize documentation wording about quoting requirements
...
The phrase "requires string" refers to the RPM `Requires` tag, but it
had been copied from the description of `CPACK_RPM_PACKAGE_REQUIRES`
without adjusting the text.
2025-02-28 12:06:39 -05:00
Brad King
75da788360
Merge topic 'find-package-required'
...
857a039d66
find_*: Add variable to default calls to REQUIRED
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10364
2025-02-28 11:15:23 -05:00
Brad King
7f850fba3c
Merge topic 'rel-sunos'
...
5dd973f900
ci: Convert sunos packaging jobs to build sunos-{x86_64,sparc64} binaries
fd1907e50e
Utilities/Release: Convert base images to build sunos-{x86_64,sparc64}
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10401
2025-02-28 11:09:49 -05:00
Brad King
5dd973f900
ci: Convert sunos packaging jobs to build sunos-{x86_64,sparc64} binaries
2025-02-27 16:35:09 -05:00
Martin Duffy
857a039d66
find_*: Add variable to default calls to REQUIRED
...
This adds a `CMAKE_FIND_REQUIRED` variable which causes `find_package`,
`find_path`, `find_file`, `find_library` and `find_program` to be
considered `REQUIRED` by default.
It also introduces an `OPTIONAL` keyword to those commands, allowing
them to ignore the value of this variable.
Issue: #26576
2025-02-27 10:51:07 -05:00
Brad King
11821a386d
Merge topic 'nvpl'
...
9ead7c2129
FindBLAS: Add support for NVPL
dbbfec8712
Tests/Find{BLAS,LAPACK}: Comment purpose of integer size fallback
6ce494ed6d
ci: Add NVPL to Debian aarch64 base image
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10374
2025-02-27 09:36:03 -05:00