mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 17:09:34 -05:00
c05f5e8329
Check all exe and dll for dependencies Deploy cmark.dll
22 lines
360 B
Batchfile
22 lines
360 B
Batchfile
:: Usage:
|
|
:: call depends.bat file
|
|
|
|
if "%1"=="" (
|
|
echo Usage: %~nx0 File
|
|
exit /B 1
|
|
)
|
|
|
|
setlocal
|
|
pushd %~dp1
|
|
|
|
%EnvMSYS2Cmd% "ntldd --recursive $0 | cut -f1 -d"=" | awk '{$1=$1};1'" %~nx1 > %~sdp0depends.tmp
|
|
|
|
for /F %%A in (%~sdp0depends.tmp) do (
|
|
echo %%~A
|
|
)
|
|
|
|
if exist "%~dp0depends.tmp" del /Q "%~dp0depends.tmp"
|
|
|
|
popd
|
|
endlocal
|
|
exit /B 0 |