فهرست منبع

Help: Document configure log behavior in try_compile and try_run

Brad King 3 سال پیش
والد
کامیت
645671d36f
3فایلهای تغییر یافته به همراه14 افزوده شده و 0 حذف شده
  1. 5 0
      Help/command/try_compile.rst
  2. 5 0
      Help/command/try_run.rst
  3. 4 0
      Help/manual/cmake-configure-log.7.rst

+ 5 - 0
Help/command/try_compile.rst

@@ -42,6 +42,11 @@ below for the meaning of other options.
   Previously this was only done by the
   Previously this was only done by the
   :ref:`source file <Try Compiling Source Files>` signature.
   :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
 This command also supports an alternate signature
 which was present in older versions of CMake:
 which was present in older versions of CMake:
 
 

+ 5 - 0
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``
 One or more source files must be provided. Additionally, one of ``SOURCES``
 and/or ``SOURCE_FROM_*`` must precede other keywords.
 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
 This command also supports an alternate signature
 which was present in older versions of CMake:
 which was present in older versions of CMake:
 
 

+ 4 - 0
Help/manual/cmake-configure-log.7.rst

@@ -131,6 +131,8 @@ The keys common to all events are:
 Additional mapping keys are specific to each (versioned) event kind,
 Additional mapping keys are specific to each (versioned) event kind,
 described below.
 described below.
 
 
+.. _`try_compile configure-log event`:
+
 Event Kind ``try_compile``
 Event Kind ``try_compile``
 --------------------------
 --------------------------
 
 
@@ -204,6 +206,8 @@ The keys specific to ``try_compile-v1`` mappings are:
     An integer specifying the build tool exit code from trying
     An integer specifying the build tool exit code from trying
     to build the test project.
     to build the test project.
 
 
+.. _`try_run configure-log event`:
+
 Event Kind ``try_run``
 Event Kind ``try_run``
 ----------------------
 ----------------------