1
0
This repository has been archived on 2025-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
Files
siadrive/build_common.cmd
Scott Graves 6451f0573f Build changes
2017-03-23 10:42:27 -05:00

28 lines
700 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" (
del /q cmake-3.7.2-win64-x64.zip > NUL
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 > NUL
)
if NOT EXIST "bin\nsis-3.01\NSIS.exe" (
del /q nsis-3.01.zip > NUL
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 > NUL
)
goto :END
:ERROR
pause
popd
exit 1
:END
popd