Blender Git Loki

Git Commits -> Revision 8c3128b

August 6, 2021, 06:09 (GMT)
Windows: Add icons and icons_geom to make.bat

This adds support for building the icons from make.bat
unlike bash there is no passing environment variables
on the command line.

The scripts go out of their way to locate both blender
and inkscape however if they are not found, the user is
given a helpful error message telling them how to set
the variables.

Although some extra help can be given there, if your
normal build is a 2019 full build running

`make 2019 full icons`

will help it find the blender executable as well.

finally if you know the name of your build folder
running

`make builddir build_windows_Lite_x64_vc16_Release icons`

will also work, if all fails you can point directly to
the blender executable by running

`set BLENDER_BIN=c:whereblenderlivesblender.exe`

before running `make icons` or `make icons_geom`

The python scripts needed some small modifications since
without the PATHEXT, SystemRoot and SystemDrive
environment variables python will not initialize properly
on windows. (Not blender related, even mainline python
won't start without those)

Commit Details:

Full Hash: 8c3128baaedeba821ff92f17718221c79d4c3652
Parent Commit: 798214c
Committed By: Siddhartha Jejurkar
Lines Changed: +149, -0

4 Added Paths:

/build_files/windows/find_blender.cmd (+28, -0) (View)
/build_files/windows/find_inkscape.cmd (+21, -0) (View)
/build_files/windows/icons.cmd (+42, -0) (View)
/build_files/windows/icons_geom.cmd (+29, -0) (View)

5 Modified Paths:

/build_files/windows/parse_arguments.cmd (+6, -0) (Diff)
/build_files/windows/reset_variables.cmd (+2, -0) (Diff)
/make.bat (+10, -0) (Diff)
/release/datafiles/blender_icons_geom_update.py (+5, -0) (Diff)
/release/datafiles/blender_icons_update.py (+6, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021