Welcome to mirror list, hosted at ThFree Co, Russian Federation.

detect_architecture.cmd « windows « build_files - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 42663ef2d29c378a276d4249e45929b9065271e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 (
		echo Error: 32 bit builds of blender are no longer supported.
		goto ERR
	)
) else if "%BUILD_ARCH%"=="x64" (
	set WINDOWS_ARCH= Win64
)
:EOF
exit /b 0
:ERR 
exit /b 1