1
0

Build changes

This commit is contained in:
Scott Graves
2017-03-23 10:42:27 -05:00
parent 75ad21a6db
commit 6451f0573f
7 changed files with 61 additions and 49 deletions

View File

@@ -1,19 +1,20 @@
@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" (
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 || goto :ERROR
del /q cmake-3.7.2-win64-x64.zip > NUL
)
if NOT EXIST "bin\nsis-3.01\nsis.exe" (
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
del /q nsis-3.01.zip > NUL
)
goto :END