Peter Kokot
22ff5620b3
FindEnvModules: Update documentation
...
- Updated and synced module documentation with other similar find
modules.
- Renamed "functions" to more general word "commands". Knowing if some
module command is a function or a macro is from the user PoV mostly
irrelevant and it also fits nicer with the rest of the modules.
- Reworded descriptions to make this module slightly clearer to
understand.
- Moved examples section after commands and added example descriptions.
2025-05-13 19:05:23 +02:00
Brad King
69d4fbf2e2
Merge topic 'patch-FindDoxygen'
...
d024ddb18a FindDoxygen: Update documentation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10754
2025-05-13 10:47:18 -04:00
Brad King
68d07edc72
Merge topic 'patch-FindPackageMessage'
...
50224e00cc FindPackageMessage: Refactor module introduction
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10763
2025-05-13 10:39:57 -04:00
Brad King
97c4a408ec
Merge topic 'patch-CMakeDependentOption'
...
f70f972562 CMakeDependentOption: Sync documentation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10768
2025-05-13 10:32:43 -04:00
Brad King
c8411d9dd0
Merge topic 'patch-CMakeAddFortranSubdirectory'
...
8496710537 CMakeAddFortranSubdirectory: Extend module introduction
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10764
2025-05-13 10:26:32 -04:00
Brad King
462e119fa3
Merge topic 'patch-CMakePushCheckState'
...
7771f04753 CMakePushCheckState: Extend documentation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10761
2025-05-13 10:16:31 -04:00
Brad King
b530935bbf
Merge topic 'patch-horizontal-lines'
...
96db6dec8b Find{BISON,FLEX}: Fix Sphinx warnings
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10762
2025-05-13 10:08:30 -04:00
Kitware Robot
9d41f67319
CMake Nightly Date Stamp
2025-05-13 00:04:21 -04:00
Peter Kokot
f70f972562
CMakeDependentOption: Sync documentation
...
- Added intro code block with include() showing how to load this module.
- Used "command" instead of "macro".
- Removed duplicate mention of CMakeDependentOption module in the
option() documentation.
- Synced captions in examples.
2025-05-12 21:10:29 +02:00
Brad King
4802077fb9
Merge topic 'stdio-streams'
...
d6a1ff59f1 StdIo: Provide metadata about stdin, stdout, stderr streams
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10759
2025-05-12 09:37:04 -04:00
Brad King
54caca4cfa
Merge topic 'configure-log-find-package-v1'
...
e324478e9b Tests/RunCMake/find_package: test ConfigureLog behaviors (parameters)
632661795d Tests/RunCMake/find_package: test ConfigureLog behaviors (version requests)
3b01fdb761 Tests/RunCMake/find_package: test ConfigureLog behaviors (version skips)
63a90f13c2 Tests/RunCMake/find_package: test ConfigureLog behaviors (nested config)
e594ea8dfb Tests/RunCMake/find_package: test ConfigureLog behaviors (module)
48575b554b Tests/RunCMake/find_package: test ConfigureLog behaviors (config)
8df9819839 find_package: generate `find_package-v1` configure log events
20a1f26127 cmConfigureLog: support writing array values
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10737
2025-05-12 09:30:32 -04:00
Brad King
b11416a4ed
Merge topic 'patch-FindDoxygen-comment'
...
9daa3e175d FindDoxygen: Use gerund form "Generating" instead of "Generate"
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10755
2025-05-12 09:28:04 -04:00
Brad King
a1e1578e18
Merge topic 'update-kwsys'
...
dd162ac3be Merge branch 'upstream-KWSys' into update-kwsys
9df0cea115 KWSys 2025-05-09 (c1e5779a)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10757
2025-05-12 08:11:56 -04:00
Peter Kokot
8496710537
CMakeAddFortranSubdirectory: Extend module introduction
...
Changes:
- Added intro code block with include() how to load the module.
- Used "command" instead of "function".
2025-05-12 09:29:02 +02:00
Kitware Robot
31309ca2bb
CMake Nightly Date Stamp
2025-05-12 00:14:28 -04:00
Peter Kokot
50224e00cc
FindPackageMessage: Refactor module introduction
...
Changes:
- Added info how to load this module to the module introduction.
- Renamed "function" to "command" to be synced with other similar CMake
modules.
- Restructured command description.
- Extended examples to make the two examples more related to each other.
- Simplified links to "Find Modules".
2025-05-12 01:08:25 +02:00
Brad King
d6a1ff59f1
StdIo: Provide metadata about stdin, stdout, stderr streams
...
Detect the kind of terminal to which they are attached, if any.
Issue: #26924
2025-05-11 09:13:16 -04:00
Peter Kokot
d024ddb18a
FindDoxygen: Update documentation
...
- Refactored module docs sections.
- Used Doxygen_FOUND variable. The uppercased DOXYGEN_FOUND is also set
except it has value of "YES" or "NO".
- Added separate examples section.
- Renamed "Functions" to "Commands".
- Documented doxygen_add_docs() command options as a list for better
overview, and separated the Doxyfile configuration section as part of
the command docs.
- Synced module docs with other similar find modules.
2025-05-11 08:38:08 +02:00
Peter Kokot
96db6dec8b
Find{BISON,FLEX}: Fix Sphinx warnings
...
This fixes Sphinx warning `Unexpected section title or transition`.
RST transition element (horizontal line) cannot appear inside some
container-like elements.
2025-05-11 08:30:41 +02:00
Kitware Robot
528a04ec66
CMake Nightly Date Stamp
2025-05-11 00:05:10 -04:00
Peter Kokot
7771f04753
CMakePushCheckState: Extend documentation
...
Changes:
- Used "commands" instead of "macros".
- Removed mention of "Find Modules" and used "CMake modules" to make it
more general.
- Improved examples descriptions a bit.
- Refactored module introduction and listed variables affected by this
module with their descriptions.
- Added "versionadded" for CMAKE_EXTRA_INCLUDE_FILES variable as this
variable was added to the module after the CheckTypeSize module.
2025-05-11 00:20:02 +02:00
Kitware Robot
6ea1f5013d
CMake Nightly Date Stamp
2025-05-10 00:04:33 -04:00
Ben Boeckel
e324478e9b
Tests/RunCMake/find_package: test ConfigureLog behaviors (parameters)
2025-05-09 16:46:43 +02:00
Ben Boeckel
632661795d
Tests/RunCMake/find_package: test ConfigureLog behaviors (version requests)
2025-05-09 16:46:43 +02:00
Ben Boeckel
3b01fdb761
Tests/RunCMake/find_package: test ConfigureLog behaviors (version skips)
2025-05-09 16:46:43 +02:00
Ben Boeckel
63a90f13c2
Tests/RunCMake/find_package: test ConfigureLog behaviors (nested config)
...
Test behavior with `Find` module packages which chain to config modules.
This emulates CMake's shipped modules which support config packages
provided by modern upstreams.
2025-05-09 16:46:43 +02:00
Ben Boeckel
e594ea8dfb
Tests/RunCMake/find_package: test ConfigureLog behaviors (module)
...
Test behavior with `Find` module packages.
2025-05-09 16:46:43 +02:00
Ben Boeckel
48575b554b
Tests/RunCMake/find_package: test ConfigureLog behaviors (config)
...
This first test covers the basic "find a package with a config file"
behavior. Further tests will cover other behaviors.
2025-05-09 16:46:43 +02:00
Ben Boeckel
8df9819839
find_package: generate find_package-v1 configure log events
...
Since `find_package` is far more complex than other `find_*` commands,
it gets its own event.
Closes : #24833
2025-05-09 16:46:43 +02:00
Ben Boeckel
20a1f26127
cmConfigureLog: support writing array values
2025-05-09 16:44:27 +02:00
Brad King
432d51a926
Merge branch 'release-4.0'
2025-05-09 09:53:20 -04:00
Brad King
ec2d412052
Merge branch 'release-3.31'
2025-05-09 09:53:15 -04:00
Brad King
e966e2ccbb
Merge branch 'release-3.31' into release-4.0
2025-05-09 09:53:06 -04:00
Brad King
4da8a5cc93
Merge branch 'release-4.0'
2025-05-09 09:51:51 -04:00
Brad King
02ada9988e
Merge topic 'backport-kwsys-SystemInformation-s390x'
...
b64548eedc KWSys: Backport "Fix GetNumberOfLogicalCPU on s390x" to CMake 3.31
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10758
2025-05-09 09:51:51 -04:00
Brad King
3e06fdbbb6
Merge topic 'backport-kwsys-SystemInformation-s390x' into release-4.0
...
b64548eedc KWSys: Backport "Fix GetNumberOfLogicalCPU on s390x" to CMake 3.31
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10758
2025-05-09 09:51:49 -04:00
Brad King
23e8090aa4
Merge topic 'backport-kwsys-SystemInformation-s390x' into release-3.31
...
b64548eedc KWSys: Backport "Fix GetNumberOfLogicalCPU on s390x" to CMake 3.31
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10758
2025-05-09 09:33:56 -04:00
Brad King
151a635325
Merge topic 'stdio-init'
...
cef4676d3a StdIo: Factor out helper to initialize stdin, stdout, and stderr
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10753
2025-05-09 09:25:01 -04:00
Tom Stellard
b64548eedc
KWSys: Backport "Fix GetNumberOfLogicalCPU on s390x" to CMake 3.31
...
The format of `/proc/cpuinfo` is different on `s390x` than other
architectures.
Issue: #26619
2025-05-09 09:14:14 -04:00
Brad King
6bc5d6d14f
Merge topic 'cm-re-debugging'
...
fa1349267a cmredbg: add a tool to help debug `RunCMake` output matching
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10751
2025-05-09 09:07:20 -04:00
Brad King
dd162ac3be
Merge branch 'upstream-KWSys' into update-kwsys
...
# By KWSys Upstream
* upstream-KWSys:
KWSys 2025-05-09 (c1e5779a)
2025-05-09 08:58:22 -04:00
KWSys Upstream
9df0cea115
KWSys 2025-05-09 (c1e5779a)
...
Code extracted from:
https://gitlab.kitware.com/utils/kwsys.git
at commit c1e5779a296730461dd8c8584dfb44476e8e3ccd (master).
Upstream Shortlog
-----------------
Daniel Pfeifer (1):
c5bb3c4e SystemInformation: Strip trailing whitespace from ModelName
2025-05-09 08:58:22 -04:00
Kitware Robot
17c484d94c
CMake Nightly Date Stamp
2025-05-09 00:04:31 -04:00
Peter Kokot
9daa3e175d
FindDoxygen: Use gerund form "Generating" instead of "Generate"
...
This aligns the default comment produced by doxygen_add_docs() a bit
with the other CMake comments used at build phase.
2025-05-08 22:36:18 +02:00
Brad King
cef4676d3a
StdIo: Factor out helper to initialize stdin, stdout, and stderr
...
Move logic from commit c85524a94a (Ensure stdin, stdout, and stderr pipes
are always open, 2019-05-02, v3.15.0-rc1~171^2) and commit 96010cc968
(Ensure stdin, stdout, stderr FILE streams are open on Windows, 2024-01-24,
v3.29.0-rc1~65^2) to a dedicated source. Expose it through an `Init` class
constructor to make it optionally available during static initialization.
Issue: #26924
2025-05-08 13:39:48 -04:00
Brad King
dd835c8b2b
Merge topic 'FindJasper-imported-target'
...
ecd4e0ff16 FindJasper: Fix importing Release and Debug configurations together
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10752
2025-05-08 09:04:53 -04:00
Ben Boeckel
fa1349267a
cmredbg: add a tool to help debug RunCMake output matching
...
Finding small errors in `RunCMake` outputs against the output is a
tedious task. Add a small tool that sets up a simple `tmux` window setup
to help debug them.
2025-05-08 13:20:44 +02:00
Kitware Robot
54ca95a7fc
CMake Nightly Date Stamp
2025-05-08 00:04:39 -04:00
Brad King
ecd4e0ff16
FindJasper: Fix importing Release and Debug configurations together
...
In commit 6e8754c625 (FindJasper: Add IMPORTED target, 2021-10-06,
v3.22.0-rc1~20^2) we set `IMPORTED_LOCATION` for both. Instead,
set `IMPORTED_LOCATION_{RELEASE,DEBUG}`.
Issue: #20601
Reported-by: Craig Scott <craig.scott@crascit.com >
2025-05-07 09:51:17 -04:00
Brad King
d182ad0a90
Merge topic 'FindJasper-no-jpeg'
...
324ab428fa FindJasper: Do not require JPEG libraries
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10750
2025-05-07 09:46:43 -04:00