Brad King
4604d48c63
Merge topic 'patch-TEST_INCLUDE_FILE-docs'
...
1666b715eb
TEST_INCLUDE_{FILE,FILES}: Update documentation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10515
2025-03-25 10:45:02 -04:00
Brad King
08a84180b5
Merge topic 'patch-CMAKE_CFG_INTDIR'
...
a180240af3
Help: Move CMAKE_CFG_INTDIR to deprecated section
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10513
2025-03-25 10:41:21 -04:00
Brad King
f37d0f33b2
Merge topic 'patch-CTEST_CVS_CHECKOUT'
...
77d23eaa8f
CTEST_CVS_CHECKOUT: Add deprecated directive to docs
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10512
2025-03-25 10:36:29 -04:00
Brad King
c4c2cdda7e
Merge topic 'patch-QCC'
...
39d6672e82
Help: Document QCC and SCO CMAKE_<LANG>_COMPILER_ID
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10506
2025-03-25 10:24:24 -04:00
Brad King
0f7a8e457f
Merge topic 'patch-FindQt4'
...
e60bdd1014
FindQt4: Update documentation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10497
2025-03-25 09:43:17 -04:00
Brad King
468ed369b4
Merge topic 'patch-FindGDAL'
...
9eb91c8bd3
FindGDAL: Move to list of deprecated modules
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10499
2025-03-25 09:40:01 -04:00
Peter Kokot
9eb91c8bd3
FindGDAL: Move to list of deprecated modules
...
The module was deprecated by commit 7e2aee4458
(FindGDAL: Document as
deprecated in favor of upstream CMake package, 2024-11-26,
v4.0.0-rc1~409^2). Move the module to the list of deprecated modules.
Issue: #26471
2025-03-24 11:01:09 -04:00
Peter Kokot
1666b715eb
TEST_INCLUDE_{FILE,FILES}: Update documentation
...
The TEST_INCLUDE_FILE directory property got deprecated in CMake 3.10
and TEST_INCLUDE_FILES should be used instead. This extends descriptions
a bit to better understand this property.
2025-03-24 14:47:55 +01:00
Peter Kokot
77d23eaa8f
CTEST_CVS_CHECKOUT: Add deprecated directive to docs
...
This variable got introduced in CMake 2.4 and was documented as
deprecated in CMake 3.1.
2025-03-24 01:06:29 +01:00
Peter Kokot
a180240af3
Help: Move CMAKE_CFG_INTDIR to deprecated section
2025-03-24 00:54:18 +01:00
Peter Kokot
39d6672e82
Help: Document QCC and SCO CMAKE_<LANG>_COMPILER_ID
...
- QNX C/C++ compiler is identified in `CMAKE_<LANG>_COMPILER_ID` as
value "QCC". The qcc/q++ are frontend compiler commands that invoke
the GNU compiler (gcc/g++) as a backend compiler, but it's treated as
a separate compiler with its own ID for better determination.
- The C/C++ compiler on UnixWare/OpenServer is identified in
`CMAKE_<LANG>_COMPILER_ID` as value "SCO", (compiler that defines the
`__SCO_VERSION__` preprocessor macro).
2025-03-23 15:32:26 +01:00
Peter Kokot
e60bdd1014
FindQt4: Update documentation
...
Changes:
- Lowercase style used for Qt4 macros
- Module documentation reformatted similar to other pages
- Module commands listed using the RST `:command:` directive,
descriptions refactored and arguments described separately
2025-03-21 17:13:18 +01:00
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
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
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