blender/source/icons/SConscript
Nathan Letwory e4e78d4754 Apply [#26044] Windows thumbnails and improved filetype registration
submitted by Tom Edwards
Fix [#25473] 64bit Windows installer for version 2.56 is not working
patch submitted by Caleb (Dobz)

The thumbnail patch adds a thumb handler DLL that adds .blend thumbnail support in Windows Explorer. A -r option is added to do registration in background. The patch also improves icon building and metadata for blender.exe.

Caleb fixes and cleans up our installer to an acceptable state. The patch uses the new -r option to do the .blend extension and thumbnailer registration.

Thanks to both Caleb and Tom for their efforts!
2011-03-29 13:00:03 +00:00

13 lines
448 B
Python

#!/usr/bin/python
Import ('env')
import btools
env['RCFLAGS'].append("-DWINDRES")
env['RCFLAGS'].append("-DBLEN_VER_RC_STR_M=" + btools.VERSION)
env['RCFLAGS'].append("-DBLEN_VER_RC_1=" + btools.VERSION[0])
env['RCFLAGS'].append("-DBLEN_VER_RC_2=" + btools.VERSION[2])
env['RCFLAGS'].append("-DBLEN_VER_RC_3=" + btools.VERSION[3])
env['RCFLAGS'].append("-DBLEN_VER_RC_4=0")
env.BlenderRes('winresource', 'winblender.rc', ['core'], priority=[95])