27 lines
632 B
Batchfile
27 lines
632 B
Batchfile
@echo off
|
|
set ROOT=%~dp0%
|
|
set PATH=%ROOT%bin;%PATH%
|
|
|
|
pushd "%ROOT%"
|
|
|
|
if NOT EXIST "bin\cmake-3.7.2-win64-x64\bin\cmake.exe" (
|
|
wget --no-check-certificate https://cmake.org/files/v3.7/cmake-3.7.2-win64-x64.zip || goto :ERROR
|
|
unzip -o -q -d bin\ cmake-3.7.2-win64-x64.zip || goto :ERROR
|
|
del /q cmake-3.7.2-win64-x64.zip || goto :ERROR
|
|
)
|
|
|
|
if NOT EXIST "bin\nsis-3.01\nsis.exe" (
|
|
wget --no-check-certificate "https://sourceforge.net/projects/nsis/files/NSIS 3/3.01/nsis-3.01.zip/download" || goto :ERROR
|
|
unzip -o -q -d bin\ nsis-3.01.zip || goto :ERROR
|
|
del /q nsis-3.01.zip
|
|
)
|
|
|
|
goto :END
|
|
|
|
:ERROR
|
|
pause
|
|
popd
|
|
exit 1
|
|
|
|
:END
|
|
popd |