diff options
author | lazydodo <github@lazydodo.com> | 2016-11-02 00:30:12 +0300 |
---|---|---|
committer | lazydodo <github@lazydodo.com> | 2016-11-02 00:30:12 +0300 |
commit | f94a460397a86beb9f71e665e8f484fa4e10ebdc (patch) | |
tree | e85de8c05febf65d274bf7630720f54e9d65c631 | |
parent | 13ee9b8ebe08ee95478f51537f10e9a1b1e4d863 (diff) |
[msvc/make.bat] Detect spaces in the build path and error out.
-rw-r--r-- | make.bat | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |