1
0

Patch dokany for logging

This commit is contained in:
Scott E. Graves
2017-03-24 19:45:10 -05:00
parent 9320247b63
commit 62957e9423
5 changed files with 200 additions and 19 deletions

View File

@@ -2,16 +2,20 @@
set ROOT=%~dp0%
set PATH=%ROOT%bin;%PATH%
pushd "%ROOT%"
set DOKANY_VERSION=1.0.3
if NOT EXIST "3rd_party\dokany-1.0.2" (
del /q v1.0.2.zip > NUL
wget --no-check-certificate "https://github.com/dokan-dev/dokany/archive/v1.0.2.zip" || goto :ERROR
unzip -o -q -d 3rd_party v1.0.2.zip || goto :ERROR
del /q v1.0.2.zip > NUL
del /q dokan.zip > NUL
wget --no-check-certificate "https://github.com/dokan-dev/dokany/releases/download/v1.0.2/dokan.zip" || goto :ERROR
unzip -o -q -d 3rd_party\dokany-1.0.2 dokan.zip || goto :ERROR
del /q dokan.zip > NUL
if NOT EXIST "3rd_party\dokany-%DOKANY_VERSION%.complete" (
del /q v%DOKANY_VERSION%.zip > NUL
wget --no-check-certificate "https://github.com/dokan-dev/dokany/archive/v%DOKANY_VERSION%.zip" || goto :ERROR
unzip -o -q -d 3rd_party v%DOKANY_VERSION%.zip || goto :ERROR
del /q v%DOKANY_VERSION%.zip > NUL
pushd "3rd_party\dokany-%DOKANY_VERSION%"
copy /y ..\enable_debug_logging.patch
patch -p1 -N < enable_debug_logging.patch || goto :ERROR
call build.bat
popd
echo "1">3rd_party\dokany-%DOKANY_VERSION%.complete
)
if NOT EXIST ".\bin\cmake-3.7.2-win64-x64\bin\cmake.exe" (