Commit Graph

14853 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Brad King
970179502f Merge topic 'patch-SelectLibraryConfigurations'
dfd6af0460 SelectLibraryConfigurations: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10480
2025-03-18 09:49:56 -04:00
Brad King
31fab89027 Merge topic 'patch-GetPrerequisites'
d6e1d220a0 GetPrerequisites: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10483
2025-03-18 09:48:35 -04:00
Brad King
c0f6a1184b Merge topic 'patch-CMakeDetermineVSServicePack'
0f27b9bab6 CMakeDetermineVSServicePack: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10485
2025-03-18 09:45:56 -04:00
Brad King
80682590b7 Merge topic 'patch-CMakeExpandImportedTargets'
fb34f1d630 CMakeExpandImportedTargets: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10484
2025-03-18 09:44:30 -04:00
Brad King
555f603bd5 Merge topic 'patch-FindQt3'
c7a5fc355c FindQt3: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10476
2025-03-18 09:40:47 -04:00
Brad King
73294d2a7d Merge topic 'ASM_MARMASM-config'
9b5915c178 MARMASM: Fix loading linker information

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10487
2025-03-18 09:18:49 -04:00
Brad King
4223b2410f Merge topic 'ASM_MARMASM-config' into release-4.0
9b5915c178 MARMASM: Fix loading linker information

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10487
2025-03-18 09:18:47 -04:00
Brad King
52b62cf4e1 Merge topic 'ASM_MARMASM-config' into release-3.31
9b5915c178 MARMASM: Fix loading linker information

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10487
2025-03-18 09:16:34 -04:00
Marc Chevrier
9b5915c178 MARMASM: Fix loading linker information
Fix misspelled `ASM_DIALECT` variable value.
2025-03-17 12:02:38 -04:00
Brad King
46838bbe11 Merge topic 'msvc-c++23'
d54916d03a MSVC: Revert use of temporary -std:c++23preview flag for C++23

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10470
2025-03-17 11:42:05 -04:00
Brad King
89f6be8264 Merge topic 'msvc-c++23' into release-4.0
d54916d03a MSVC: Revert use of temporary -std:c++23preview flag for C++23

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10470
2025-03-17 11:42:03 -04:00
Peter Kokot
0f27b9bab6
CMakeDetermineVSServicePack: Update documentation 2025-03-16 23:10:15 +01:00
Peter Kokot
fb34f1d630
CMakeExpandImportedTargets: Update documentation 2025-03-16 23:03:05 +01:00
Peter Kokot
d6e1d220a0
GetPrerequisites: Update documentation
This updates the module documentation to ease the upgrade path to
file(GET_RUNTIME_DEPENDENCIES) and syncs formatting as used in other
documentation pages. Lowercase style is used for functions, some missing
arguments added to signatures, and examples section added.
2025-03-16 22:49:09 +01:00
Peter Kokot
7dc53c5362
KDE3Macros: Replace obsolete/deprecated add_file_dependencies()
The AddFileDependencies module is deprecated as of CMake 3.20 but
doesn't emit warnings/deprecation notices yet. This for now only
upgrades the code usage of KDE3Macros module without this deprecated
module.
2025-03-16 02:01:55 +01:00
Peter Kokot
cdda7d044d
Qt4Macros: Replace obsolete/deprecated macro_add_file_dependencies()
The MacroAddFileDependencies module is deprecated as of CMake 3.14 but
doesn't emit warnings/deprecation notices yet. This for now only
upgrades the code usage of Qt4Macros module when used with FindQt4
without this deprecated module.

Additionally, the lowercase style is used in the documentation.
2025-03-16 01:56:37 +01:00
Peter Kokot
dfd6af0460
SelectLibraryConfigurations: Update documentation
This describes the module in more details and adds examples section.
2025-03-16 01:25:38 +01:00
Peter Kokot
c7a5fc355c
FindQt3: Update documentation
Although the FindQt module (which includes this one) has been deprecated
since CMake 3.14, this update enhances the online documentation for
better readability.

- Additionally, Qt3_FOUND has been added to the documented variable
  list, as it is automatically set by
  find_package_handle_standard_args().
- Examples section added.
2025-03-15 12:14:55 +01:00