Merge branch 'blender2.7'
[blender.git] / build_files / windows / detect_architecture.cmd
1 if "%BUILD_ARCH%"=="" (
2         if "%PROCESSOR_ARCHITECTURE%" == "AMD64" (
3                 set WINDOWS_ARCH= Win64
4                 set BUILD_ARCH=x64
5         ) else if "%PROCESSOR_ARCHITEW6432%" == "AMD64" (
6                 set WINDOWS_ARCH= Win64
7                 set BUILD_ARCH=x64
8         ) else (
9                 set WINDOWS_ARCH=
10                 set BUILD_ARCH=x86
11         )
12 ) else if "%BUILD_ARCH%"=="x64" (
13         set WINDOWS_ARCH= Win64
14 ) else if "%BUILD_ARCH%"=="x86" (
15         set WINDOWS_ARCH=
16 )