win32 resource: allow custom comments field in DLL

This commit is contained in:
Edward Thomson 2015-03-18 18:25:14 -04:00
parent 7568bdf4ab
commit 523526e55d

View File

@ -2,7 +2,11 @@
#include "../../include/git2/version.h" #include "../../include/git2/version.h"
#ifndef LIBGIT2_FILENAME #ifndef LIBGIT2_FILENAME
# define LIBGIT2_FILENAME "git2" # define LIBGIT2_FILENAME "git2"
#endif
#ifndef LIBGIT2_COMMENTS
# define LIBGIT2_COMMENTS "For more information visit http://libgit2.github.com/"
#endif #endif
VS_VERSION_INFO VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE VS_VERSION_INFO VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
@ -30,7 +34,7 @@ BEGIN
VALUE "OriginalFilename", LIBGIT2_FILENAME ".dll\0" VALUE "OriginalFilename", LIBGIT2_FILENAME ".dll\0"
VALUE "ProductName", "libgit2\0" VALUE "ProductName", "libgit2\0"
VALUE "ProductVersion", LIBGIT2_VERSION "\0" VALUE "ProductVersion", LIBGIT2_VERSION "\0"
VALUE "Comments", "For more information visit http://libgit2.github.com/\0" VALUE "Comments", LIBGIT2_COMMENTS "\0"
END END
END END
BLOCK "VarFileInfo" BLOCK "VarFileInfo"