diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2022-11-06 00:05:00 (GMT) |
---|---|---|
committer | Alex Turbov <i.zaufi@gmail.com> | 2022-11-06 00:28:21 (GMT) |
commit | 029210730a6b87629d937e6e5037dc2302010fc8 (patch) | |
tree | 5d00c6dcfc0e3133ff69e3a5cf7ff2a945ebaf12 /Help/command/try_compile.rst | |
parent | 295062ef4b3ae630c2d2a19baba1da41c28ac229 (diff) | |
download | CMake-029210730a6b87629d937e6e5037dc2302010fc8.zip CMake-029210730a6b87629d937e6e5037dc2302010fc8.tar.gz CMake-029210730a6b87629d937e6e5037dc2302010fc8.tar.bz2 |
Help: Use role `:program:`
When mention execitable names use Sphinx semantic role `:program`
instead of ``executable`` or **executable**.
Diffstat (limited to 'Help/command/try_compile.rst')
-rw-r--r-- | Help/command/try_compile.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Help/command/try_compile.rst b/Help/command/try_compile.rst index 9e9f39f..99a0b9d 100644 --- a/Help/command/try_compile.rst +++ b/Help/command/try_compile.rst @@ -105,9 +105,9 @@ contain something like the following: CMake automatically generates, for each ``try_compile`` operation, a unique directory under ``${CMAKE_BINARY_DIR}/CMakeFiles/CMakeScratch`` with an unspecified name. These directories are cleaned automatically unless -:option:`--debug-trycompile <cmake --debug-trycompile>` is passed to ``cmake``. +:option:`--debug-trycompile <cmake --debug-trycompile>` is passed to :program:`cmake`. Such directories from previous runs are also unconditionally cleaned at the -beginning of any ``cmake`` execution. +beginning of any :program:`cmake` execution. This command also supports an alternate signature which was present in older versions of CMake: @@ -130,7 +130,7 @@ which was present in older versions of CMake: In this version, ``try_compile`` will use ``<bindir>/CMakeFiles/CMakeTmp`` for its operation, and all such files will be cleaned automatically. For debugging, :option:`--debug-trycompile <cmake --debug-trycompile>` can be -passed to ``cmake`` to avoid this clean. However, multiple sequential +passed to :program:`cmake` to avoid this clean. However, multiple sequential ``try_compile`` operations, if given the same ``<bindir>``, will reuse this single output directory, such that you can only debug one such ``try_compile`` call at a time. Use of the newer signature is recommended to simplify |