Commit Graph

69890 Commits

Author SHA1 Message Date
Brad King
080c1a4e17 Merge topic 'FindPython-ensure-reproductibility'
f08b218a0d FindPython: ensure reproductibility between CMake calls

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10504
2025-03-25 10:56:43 -04:00
Brad King
5f1d239d37 Merge topic 'ctest-script'
8b8f96f8e6 CTest Module: Port from DartConfig to CTest Script

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10495
2025-03-25 10:55:48 -04:00
Brad King
edba4bf64c Merge topic 'patch-TEST_INCLUDE_FILE'
1fa89aa3e4 TEST_INCLUDE_FILE: Replace with TEST_INCLUDE_FILES

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10514
2025-03-25 10:52:40 -04:00
Brad King
c28669da56 Merge topic 'patch-FindPNG'
7047f271fa FindPNG: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10501
2025-03-25 10:51:03 -04:00
Brad King
1984931799 Merge topic 'patch-TestCXXAcceptsFlag'
1d72b4da10 TestCXXAcceptsFlag: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10510
2025-03-25 10:47:45 -04:00
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
24bb7a9862 Merge topic 'patch-FindHTMLHelp'
6a083a812b FindHTMLHelp: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10511
2025-03-25 10:34:32 -04:00
Brad King
48894128c0 Merge topic 'patch-UsePkgConfig'
36bff46594 UsePkgConfig: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10503
2025-03-25 10:31:59 -04:00
Brad King
cb711a5034 Merge topic 'patch-cmake-m4'
d5793a6e57 cmake.m4: Update Autoconf macros documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10509
2025-03-25 10:28:53 -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
e09a0ae4f7 Merge topic 'patch-FindCoin3D'
9f857ce84a FindCoin3D: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10502
2025-03-25 09:59:45 -04:00
Brad King
61c7b6360b Merge topic 'patch-FindSubversion'
61745c982c FindSubversion: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10500
2025-03-25 09:55:42 -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
16684d8b63 Merge branch 'release-4.0' 2025-03-25 09:40:01 -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
Brad King
4d8503a2ad Merge topic 'patch-FindGDAL' into release-4.0
9eb91c8bd3 FindGDAL: Move to list of deprecated modules

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10499
2025-03-25 09:39:59 -04:00
Kitware Robot
902b0b46c8 CMake Nightly Date Stamp 2025-03-25 00:04:48 -04:00
Peter Kokot
7047f271fa
FindPNG: Update documentation 2025-03-24 17:00:48 +01:00
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
Daniel Pfeifer
8b8f96f8e6
CTest Module: Port from DartConfig to CTest Script 2025-03-24 16:21:28 +01: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
Brad King
fd26efc2bd Merge topic 'patch-execute-process'
acba9cb083 execute_process: Document {OUTPUT,ERROR}_STRIP_TRAILING_WHITESPACE

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10498
2025-03-24 10:24:01 -04:00
Brad King
0e6a2068f6 Merge topic 'ctest-exit'
46a0c04284 CTest: Allow setting exit code in ctest scripts
47277616d8 Tests/CTestTestChecksum: Add missing CMakeLists.txt file

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9872
2025-03-24 10:22:18 -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
1fa89aa3e4
TEST_INCLUDE_FILE: Replace with TEST_INCLUDE_FILES
The TEST_INCLUDE_FILE directory property got deprecated in CMake 3.10
and TEST_INCLUDE_FILES should be used instead.
2025-03-24 14:20:27 +01:00
Kitware Robot
ec10d51115 CMake Nightly Date Stamp 2025-03-24 00:04:40 -04: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
6a083a812b
FindHTMLHelp: Update documentation 2025-03-23 22:34:18 +01:00
Peter Kokot
36bff46594
UsePkgConfig: Update documentation
This module is deprecated yet still documentation output can be improved
a bit to provide relevant info where to go instead and how to "migrate"
to FindPkgConfig. Also in the near future, this can be further extended
or adjusted with `cmake_pkg_config()` built-in command.
2025-03-23 16:47:55 +01:00
Peter Kokot
d5793a6e57
cmake.m4: Update Autoconf macros documentation
This updates the documentation for the CMAKE_FIND_BINARY and
CMAKE_FIND_PACKAGE Autoconf macros to imitate other Autoconf macros
internal documentation style with some stylistic adjustments for
readability of the arguments.

- CMAKE_FIND_PACKAGE: Links to docs are added instead of listing
  compiler IDs. The 5th ($5) and 6th ($6) arguments descriptions are
  updated to be action-if-found and action-if-not-found according to the
  current code.
2025-03-23 16:09:02 +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
Kitware Robot
5cc08a4563 CMake Nightly Date Stamp 2025-03-23 00:04:46 -04:00
Marc Chevrier
f08b218a0d FindPython: ensure reproductibility between CMake calls
Ensures, when CMake is re-launched with some artifacts specified by the user,
that the multiple runs of CMake give always the same result.

Fixes: #26778
2025-03-22 15:32:42 +01:00
Peter Kokot
9f857ce84a
FindCoin3D: Update documentation 2025-03-22 12:33:07 +01:00
Kitware Robot
1c07011300 CMake Nightly Date Stamp 2025-03-22 00:04:22 -04:00
Peter Kokot
61745c982c
FindSubversion: Update documentation 2025-03-21 19:59:51 +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
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