Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/compat/vcbuild/vcpkg_copy_dlls.bat # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / compat / vcbuild / vcpkg_copy_dlls.bat` 39 lines ยท 1208 bytes Raw Blame History 1 @ECHO OFF 2 REM ================================================================ 3 REM This script is an optional step. It copies the *.dll and *.pdb 4 REM files (created by vcpkg_install.bat) into the top-level directory 5 REM of the repo so that you can type "./git.exe" and find them without 6 REM having to fixup your PATH. 7 REM 8 REM NOTE: Because the names of some DLL files change between DEBUG and 9 REM NOTE: RELEASE builds when built using "vcpkg.exe", you will need 10 REM NOTE: to copy up the corresponding version. 11 REM ================================================================ 12 13 SETLOCAL EnableDelayedExpansion 14 15 @FOR /F "delims=" %%D IN ("%~dp0") DO @SET cwd=%%~fD 16 cd %cwd% 17 18 SET arch=x64-windows 19 SET inst=%cwd%vcpkg\installed\%arch% 20 21 IF [%1]==[release] ( 22 echo Copying RELEASE mode DLLs to repo root... 23 ) ELSE IF [%1]==[debug] ( 24 SET inst=%inst%\debug 25 echo Copying DEBUG mode DLLs to repo root... 26 ) ELSE ( 27 echo ERROR: Invalid argument. 28 echo Usage: %~0 release 29 echo Usage: %~0 debug 30 EXIT /B 1 31 ) 32 33 xcopy /e/s/v/y %inst%\bin\*.dll ..\..\ 34 xcopy /e/s/v/y %inst%\bin\*.pdb ..\..\ 35 36 xcopy /e/s/v/y %inst%\bin\*.dll ..\..\t\helper\ 37 xcopy /e/s/v/y %inst%\bin\*.pdb ..\..\t\helper\ 38 39 EXIT /B 0