summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-01-18 16:33:40 (GMT)
committerBrad King <brad.king@kitware.com>2023-01-18 16:37:02 (GMT)
commit645671d36f5cf0fa411d98a637f4edbc3d896c57 (patch)
treeca9119cf7270eacc7630dcd247b59a89e2775f08 /Help/command
parent45f86b9990e3ac7e9ec5909253275dbf2728bccc (diff)
downloadCMake-645671d36f5cf0fa411d98a637f4edbc3d896c57.zip
CMake-645671d36f5cf0fa411d98a637f4edbc3d896c57.tar.gz
CMake-645671d36f5cf0fa411d98a637f4edbc3d896c57.tar.bz2
Help: Document configure log behavior in try_compile and try_run
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/try_compile.rst5
-rw-r--r--Help/command/try_run.rst5
2 files changed, 10 insertions, 0 deletions
diff --git a/Help/command/try_compile.rst b/Help/command/try_compile.rst
index 8f6a4eb..21b063f 100644
--- a/Help/command/try_compile.rst
+++ b/Help/command/try_compile.rst
@@ -42,6 +42,11 @@ below for the meaning of other options.
Previously this was only done by the
:ref:`source file <Try Compiling Source Files>` signature.
+.. versionadded:: 3.26
+ This command records a
+ :ref:`configure-log try_compile event <try_compile configure-log event>`
+ if the ``NO_LOG`` option is not specified.
+
This command also supports an alternate signature
which was present in older versions of CMake:
diff --git a/Help/command/try_run.rst b/Help/command/try_run.rst
index ef8ec96..7566264 100644
--- a/Help/command/try_run.rst
+++ b/Help/command/try_run.rst
@@ -50,6 +50,11 @@ the test project is constructed to build the source file.
One or more source files must be provided. Additionally, one of ``SOURCES``
and/or ``SOURCE_FROM_*`` must precede other keywords.
+.. versionadded:: 3.26
+ This command records a
+ :ref:`configure-log try_run event <try_run configure-log event>`
+ if the ``NO_LOG`` option is not specified.
+
This command also supports an alternate signature
which was present in older versions of CMake: