Skip to content

Commit

Permalink
[msvc/make.bat] Detect spaces in the build path and error out.
Browse files Browse the repository at this point in the history
  • Loading branch information
LazyDodo committed Nov 1, 2016
1 parent 13ee9b8 commit f94a460
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ REM This is for users who like to configure & build Blender with a single comman

setlocal ENABLEEXTENSIONS
set BLENDER_DIR=%~dp0
set BLENDER_DIR_NOSPACES=%BLENDER_DIR: =%
if not "%BLENDER_DIR%"=="%BLENDER_DIR_NOSPACES%" (
echo There are spaces detected in the build path "%BLENDER_DIR%", this is currently not supported, exiting....
goto EOF
)
set BUILD_DIR=%BLENDER_DIR%..\build_windows
set BUILD_TYPE=Release
rem reset all variables so they do not get accidentally get carried over from previous builds
Expand Down

0 comments on commit f94a460

Please sign in to comment.