mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Cleanup/Win: Fix build folder name if no target is set
When you call make.bat without a target the build folder name would have a double underscore in it which looked odd.
This commit is contained in:
parent
630747ca66
commit
9198ff4306
1 changed files with 6 additions and 1 deletions
|
|
@ -1,4 +1,9 @@
|
|||
set BUILD_DIR=%BUILD_DIR%_%TARGET%_%BUILD_ARCH%_vc%BUILD_VS_VER%_%BUILD_TYPE%
|
||||
if NOT "%TARGET%" == "" (
|
||||
set BUILD_DIR=%BUILD_DIR%_%TARGET%_%BUILD_ARCH%_vc%BUILD_VS_VER%_%BUILD_TYPE%
|
||||
) else (
|
||||
set BUILD_DIR=%BUILD_DIR%_%BUILD_ARCH%_vc%BUILD_VS_VER%_%BUILD_TYPE%
|
||||
)
|
||||
|
||||
if NOT "%BUILD_DIR_OVERRRIDE%"=="" (
|
||||
set BUILD_DIR=%BUILD_DIR_OVERRRIDE%
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue