From 40039ddbacecd79ce5cb7e30c0b0cfa77de8f5c9 Mon Sep 17 00:00:00 2001 From: Martin Duffy Date: Fri, 14 Mar 2025 11:18:48 -0400 Subject: [PATCH] Help: Document backtrace member of link commandFragments in FileApi manual --- Help/manual/cmake-file-api.7.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Help/manual/cmake-file-api.7.rst b/Help/manual/cmake-file-api.7.rst index 561791c686..808ad55294 100644 --- a/Help/manual/cmake-file-api.7.rst +++ b/Help/manual/cmake-file-api.7.rst @@ -1058,6 +1058,13 @@ with members: * ``libraryPath``: library search path flags. * ``frameworkPath``: macOS framework search path flags. + ``backtrace`` + Optional member that is present when a CMake language backtrace to + the :command:`target_link_libraries`, :command:`target_link_options`, + or other command invocation that added this link fragment is available. + The value is an unsigned integer 0-based index into the ``backtraceGraph`` + member's ``nodes`` array. + ``lto`` Optional member that is present with boolean value ``true`` when link-time optimization (a.k.a. interprocedural optimization