summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorMatteo Martelli <matteomartelli3@gmail.com>2022-09-02 15:50:18 (GMT)
committerBrad King <brad.king@kitware.com>2022-09-06 13:49:54 (GMT)
commit0c638ab59782fd5210255674f3456d0400ee0223 (patch)
treed06778a6142e064cf047f139c6a9c06dba78896b /Help
parent01e95efc34a2a9bcf9910d65d3b38ff9b8a51750 (diff)
downloadCMake-0c638ab59782fd5210255674f3456d0400ee0223.zip
CMake-0c638ab59782fd5210255674f3456d0400ee0223.tar.gz
CMake-0c638ab59782fd5210255674f3456d0400ee0223.tar.bz2
CPack: re-use paths of tools discovered by CMakeFindBinUtils
`CMakeFindBinUtils.cmake` sets `CMAKE_<TOOL>` variables that in cross-compilation environments point to the toolchain specific executables: e.g. `CMAKE_OBJCOPY` might point to `<path_to_toolchain>/arm-poky-linux-gnueabi-objcopy`. Pass this information to CPack.
Diffstat (limited to 'Help')
-rw-r--r--Help/release/dev/cpack-reuse-cmake-tools.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Help/release/dev/cpack-reuse-cmake-tools.rst b/Help/release/dev/cpack-reuse-cmake-tools.rst
new file mode 100644
index 0000000..144a6b3
--- /dev/null
+++ b/Help/release/dev/cpack-reuse-cmake-tools.rst
@@ -0,0 +1,7 @@
+cpack-reuse-cmake-tools
+-----------------------
+
+* The :module:`CPack` module gained the :variable:`CPACK_READELF_EXECUTABLE`,
+ :variable:`CPACK_OBJCOPY_EXECUTABLE`, and
+ :variable:`CPACK_OBJDUMP_EXECUTABLE` variables to control the locations
+ of binutils used by :manual:`cpack(1)`.