aboutsummaryrefslogtreecommitdiff
path: root/scripts/cmake/vcpkg_execute_build_process.cmake
diff options
context:
space:
mode:
authorLeonid Pospelov <pospelovlm@yandex.ru>2019-07-01 22:30:24 +0200
committerVictor Romero <romerosanchezv@gmail.com>2019-07-01 13:30:24 -0700
commitb26cb1a041177ab113c723d89a4ef2af5614a9e5 (patch)
tree969f6e1da79c2610a8ba540ea00dda31c7a78c52 /scripts/cmake/vcpkg_execute_build_process.cmake
parent77cfd20b83e71a0c513658e7c4d049d4039905af (diff)
downloadvcpkg-b26cb1a041177ab113c723d89a4ef2af5614a9e5.tar.gz
vcpkg-b26cb1a041177ab113c723d89a4ef2af5614a9e5.zip
[vcpkg] Use spaces instead of semicolons in the output (#7080)
* Use spaces instead of semicolons in the output * Add prettify_command macro * Move pretty_command macro to a separate file
Diffstat (limited to 'scripts/cmake/vcpkg_execute_build_process.cmake')
-rw-r--r--scripts/cmake/vcpkg_execute_build_process.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/cmake/vcpkg_execute_build_process.cmake b/scripts/cmake/vcpkg_execute_build_process.cmake
index d440ba2f6..9da6cec9f 100644
--- a/scripts/cmake/vcpkg_execute_build_process.cmake
+++ b/scripts/cmake/vcpkg_execute_build_process.cmake
@@ -31,6 +31,7 @@
## ## Examples
##
## * [icu](https://github.com/Microsoft/vcpkg/blob/master/ports/icu/portfile.cmake)
+include(vcpkg_prettify_command)
function(vcpkg_execute_build_process)
cmake_parse_arguments(_ebp "" "WORKING_DIRECTORY;LOGNAME" "COMMAND;NO_PARALLEL_COMMAND" ${ARGN})
@@ -131,8 +132,9 @@ function(vcpkg_execute_build_process)
file(TO_NATIVE_PATH "${LOG}" NATIVE_LOG)
list(APPEND STRINGIFIED_LOGS " ${NATIVE_LOG}\n")
endforeach()
+ vcpkg_prettify_command(_ebp_COMMAND _ebp_COMMAND_PRETTY)
message(FATAL_ERROR
- " Command failed: ${_ebp_COMMAND}\n"
+ " Command failed: ${_ebp_COMMAND_PRETTY}\n"
" Working Directory: ${_ebp_WORKING_DIRECTORY}\n"
" See logs for more information:\n"
${STRINGIFIED_LOGS})