diff options
author | Matthew Woehlke <matthew.woehlke@kitware.com> | 2022-10-03 15:44:58 (GMT) |
---|---|---|
committer | Matthew Woehlke <matthew.woehlke@kitware.com> | 2022-10-03 15:44:58 (GMT) |
commit | 3801785cc3ccbce6b003ada5b32f859e6b71b543 (patch) | |
tree | 05ebbd658e1d78d70cceaa440b729fbc60d7beea /Help/command/try_compile.rst | |
parent | cadcb6a5f0e1ebaefd74f8c52151e410c57cfa96 (diff) | |
download | CMake-3801785cc3ccbce6b003ada5b32f859e6b71b543.zip CMake-3801785cc3ccbce6b003ada5b32f859e6b71b543.tar.gz CMake-3801785cc3ccbce6b003ada5b32f859e6b71b543.tar.bz2 |
Help: Improve try_compile debug documentation
Update the --debug-trycompile documentation to account for recent
changes to try_compile. Mention where in the build tree to find
artifacts when using said option.
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 6cb4f99..35ffe92 100644 --- a/Help/command/try_compile.rst +++ b/Help/command/try_compile.rst @@ -102,9 +102,9 @@ contain something like the following: target_link_options(cmTryCompileExec PRIVATE <LINK_OPTIONS from caller>) target_link_libraries(cmTryCompileExec ${LINK_LIBRARIES}) -CMake will automatically generate a unique directory for each ``try_compile`` -operation in an unspecified location within the project's binary directory. -These directories will be cleaned automatically unless +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``. Such directories from previous runs are also unconditionally cleaned at the beginning of any ``cmake`` execution. |