cmake: Copy cov_tool_wrapper.sh.in to the build tree

This change ensures that `cov_tool_wrapper.sh.in` is available when
invoking the `Coverage.cmake` script from any directory.
This commit is contained in:
Hennadii Stepanov
2025-01-23 10:00:58 +00:00
parent 449a25b958
commit e3c0152769
3 changed files with 2 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ endif()
# COV_TOOL is used to replace a placeholder.
configure_file(
cmake/cov_tool_wrapper.sh.in ${CMAKE_CURRENT_LIST_DIR}/cov_tool_wrapper.sh
${CMAKE_CURRENT_LIST_DIR}/cov_tool_wrapper.sh.in ${CMAKE_CURRENT_LIST_DIR}/cov_tool_wrapper.sh
FILE_PERMISSIONS OWNER_READ OWNER_EXECUTE
GROUP_READ GROUP_EXECUTE
WORLD_READ