forked from bartvdbraak/blender
857e4e04d8
make.bat was starting to become hard to maintain, this refactors it into separate batch files for each stage of the process. -Improved detection of msvc2013/2015 -Improved failure handling. -Added check for working msbuild and C++ compiler -Added verbose switch to ease trouble shooting. -Added Check if svn/cmake/git are in the path before using them -Display the build configuration before asking to download the libraries -Offer an option to recover an interrupted checkout of the libraries. -Automatically check out sub-modules in-case they are missing.
17 lines
381 B
Batchfile
17 lines
381 B
Batchfile
if "%BUILD_ARCH%"=="" (
|
|
if "%PROCESSOR_ARCHITECTURE%" == "AMD64" (
|
|
set WINDOWS_ARCH= Win64
|
|
set BUILD_ARCH=x64
|
|
) else if "%PROCESSOR_ARCHITEW6432%" == "AMD64" (
|
|
set WINDOWS_ARCH= Win64
|
|
set BUILD_ARCH=x64
|
|
) else (
|
|
set WINDOWS_ARCH=
|
|
set BUILD_ARCH=x86
|
|
)
|
|
) else if "%BUILD_ARCH%"=="x64" (
|
|
set WINDOWS_ARCH= Win64
|
|
) else if "%BUILD_ARCH%"=="x86" (
|
|
set WINDOWS_ARCH=
|
|
)
|