blender/release/windows/icons/winblender.rc
Ray Molenkamp 61a02a7aa1 Cleanup: Windows Manifest usage.
We had a manifest file, but it was seemingly not used, some
settings were done using linker pragmas, some of them visual
studio would set by default for us, others where not set at all.

This patch changes:

- Single manifest file where we can maintain all settings in
a single location, removal of any linker pragmas related to
the manifest.

- Compatibly settings for win vista - win10, without this any
call to any of the GetVersion and related functions (GetVersionEx,
VerifyVersionInfo, IsWindowsXxxx) will by default say we are
on vista and OS specific optimizations in external libraries may
be missed.

-Rather than having it in the .RC file in an #ifdef which may
or may not trigger depending on the build tool used, we tell
cmake to treat it as a source file and it will do the right
thing for both the ninja and visual studio generators.

Differential Revision: https://developer.blender.org/D6136

Reviewers: brecht
2019-12-05 12:15:04 -07:00

65 lines
2.0 KiB
Plaintext

#define BLENDERFILE 1
#define IDR_VERSION1 1
#ifdef WINDRES
#include "winresrc.h"
#define IDC_STATIC (-1)
#define STRINGIFY_(x) #x
#define STRINGIFY(x) STRINGIFY_(x)
#define BLEN_VER_RC_STR STRINGIFY(BLEN_VER_RC_STR_M)
#endif
APPICON ICON DISCARDABLE "winblender.ico"
BLENDERFILE ICON DISCARDABLE "winblenderfile.ico"
pointer_cursor CURSOR "cursors/pointer.cur"
moveew_cursor CURSOR "cursors/moveew.cur"
movens_cursor CURSOR "cursors/movens.cur"
arrowdown_cursor CURSOR "cursors/arrowdown.cur"
arrowleft_cursor CURSOR "cursors/arrowleft.cur"
arrowright_cursor CURSOR "cursors/arrowright.cur"
arrowup_cursor CURSOR "cursors/arrowup.cur"
cross_cursor CURSOR "cursors/cross.cur"
crossA_cursor CURSOR "cursors/crossa.cur"
crossB_cursor CURSOR "cursors/crossb.cur"
crossC_cursor CURSOR "cursors/crossc.cur"
eraser_cursor CURSOR "cursors/eraser.cur"
eyedropper_cursor CURSOR "cursors/eyedropper.cur"
handopen_cursor CURSOR "cursors/handopen.cur"
knife_cursor CURSOR "cursors/knife.cur"
pencil_cursor CURSOR "cursors/pencil.cur"
scrollew_cursor CURSOR "cursors/scrollew.cur"
scrollns_cursor CURSOR "cursors/scrollns.cur"
scrollnsew_cursor CURSOR "cursors/scrollnsew.cur"
splith_cursor CURSOR "cursors/splith.cur"
splitv_cursor CURSOR "cursors/splitv.cur"
zoomin_cursor CURSOR "cursors/zoomin.cur"
zoomout_cursor CURSOR "cursors/zoomout.cur"
forbidden_cursor CURSOR "cursors/forbidden.cur"
IDR_VERSION1 VERSIONINFO
FILEVERSION BLEN_VER_RC_1, BLEN_VER_RC_2, BLEN_VER_RC_3, BLEN_VER_RC_4
PRODUCTVERSION BLEN_VER_RC_1, BLEN_VER_RC_2, BLEN_VER_RC_3, BLEN_VER_RC_4
FILEOS 0x00000004
FILETYPE 0x00000001
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "04090000"
BEGIN
VALUE "FileVersion", BLEN_VER_RC_STR
VALUE "ProductVersion", BLEN_VER_RC_STR
VALUE "CompanyName", "Blender Foundation"
VALUE "FileDescription", "Blender"
VALUE "LegalCopyright", "GPLv3 (Blender Foundation)"
VALUE "OriginalFilename", "blender.exe"
VALUE "ProductName", "Blender"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0409, 0x0000
END
END