Windows: Add support for building with clang.
[blender.git] / build_files / windows / configure_msbuild.cmd
index 135b7933ab25292f97acb06f989b1b7656de4a6c..95a8882a9ab4e5c38516940551fbb60169e6533e 100644 (file)
@@ -4,6 +4,10 @@ if "%BUILD_ARCH%"=="x64" (
        set MSBUILD_PLATFORM=x64
 ) else if "%BUILD_ARCH%"=="x86" (
        set MSBUILD_PLATFORM=win32
+       if "%WITH_CLANG%"=="1" (
+               echo Clang not supported for X86
+               exit /b 1
+       )
 )
 
 if NOT EXIST %BUILD_DIR%\nul (