neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit b4a92309f8f5ee4e579cee72ef352451a60733b8
parent 9a9a4d38a8091eeb1b1acee1c086313d97c4fd8a
Author: Enan Ajmain <3nan.ajmain@gmail.com>
Date:   Tue, 14 Feb 2023 23:58:38 +0600

ci: print DLL copy messages only in CI environment (#22260)

In Windows, library DLL's are copied in the building process, and a message for each copy is printed. This is useful to have in the log of CI, but annoying to see when you're building and rebuilding nvim constantly. Work around this issue by only enabling the messages on CI.
Diffstat:
Mcmake/WindowsDllCopy.cmake | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/cmake/WindowsDllCopy.cmake b/cmake/WindowsDllCopy.cmake @@ -23,8 +23,9 @@ foreach(DLL_NAME ${DLLS}) message(FATAL_ERROR "Unable to find dependency ${DLL_NAME}") endif() - message("Copying ${DLL_NAME} to ${DST}") + if($ENV{CI} MATCHES "true") + message("Copying ${DLL_NAME} to ${DST}") + endif() execute_process(COMMAND ${CMAKE_COMMAND} -E copy ${DLL_PATH} ${DST}) unset(DLL_PATH CACHE) endforeach() -