Add *nix build script

Set paths by CMake cache entries or env vars
Windows build script: Don't fail on non-zero exit code returned by `git fetch`
This commit is contained in:
aothms
2016-01-09 06:38:33 +01:00
parent 010e05308d
commit 18f8d7b3a3
3 changed files with 417 additions and 21 deletions
+2 -1
View File
@@ -349,12 +349,13 @@ IF NOT EXIST %2. (
call cecho.cmd 0 13 "Cloning %DEPENDENCY_NAME% into %2."
pushd "%DEPS_DIR%"
call git clone %1 %2
set RET=%ERRORLEVEL%
) ELSE (
call cecho.cmd 0 13 "%DEPENDENCY_NAME% already cloned. Pulling latest changes."
pushd %2
call git pull
set RET=0
)
set RET=%ERRORLEVEL%
popd
exit /b %RET%