mirror of
https://projects.blender.org/blender/blender.git
synced 2025-01-22 23:42:16 -05:00
a67aa11b12
This change switches windows to the dynamic C runtime avoiding issues coming from mixing the static and dynamic runtime like the ones outlined in [1] [1] https://developer.blender.org/D5387#122165 Differential Revision: https://developer.blender.org/D6175 Reviewed by: @Sergey
17 lines
582 B
Batchfile
17 lines
582 B
Batchfile
REM find all dependencies and set the corresponding environment variables.
|
|
for %%X in (svn.exe) do (set SVN=%%~$PATH:X)
|
|
for %%X in (cmake.exe) do (set CMAKE=%%~$PATH:X)
|
|
for %%X in (ctest.exe) do (set CTEST=%%~$PATH:X)
|
|
for %%X in (git.exe) do (set GIT=%%~$PATH:X)
|
|
set PYTHON=%BLENDER_DIR%\..\lib\win64_vc15\python\37\bin\python.exe
|
|
if NOT "%verbose%" == "" (
|
|
echo svn : "%SVN%"
|
|
echo cmake : "%CMAKE%"
|
|
echo ctest : "%CTEST%"
|
|
echo git : "%GIT%"
|
|
echo python : "%PYTHON%"
|
|
)
|
|
if "%CMAKE%" == "" (
|
|
echo Cmake not found in path, required for building, exiting...
|
|
exit /b 1
|
|
)
|