cmFindBase: Create find-v1 configure log events

Record `find_` command events in the configure log, except
`find_package` as it is far more complicated (and will have its own
event kind).

Note that testing only generates the events of interest, there is no
verification. Also note that testing that the "found" to "notfound"
transition causes an event is not testable because a truthy value in the
variable skips any kind of verification or other logic beyond
normalization.

Co-Authored-by: Ryan Krattiger <ryan.krattiger@kitware.com>
See: #24833
This commit is contained in:
Ben Boeckel
2025-04-04 15:16:56 +02:00
parent 58b5d41a4f
commit a3f273b657
14 changed files with 457 additions and 15 deletions

View File

@@ -0,0 +1,7 @@
configure-log-find-v1
---------------------
* The :ref:`find configure-log event` ``find-v1`` has been added to
:manual:`cmake-configure-log(7)` to track calls to the :command:`find_file`,
:command:`find_path`, :command:`find_library`, and :command:`find_program`
commands.