diff options
author | Sven Strickroth <email@cs-ware.de> | 2011-10-09 18:45:23 +0200 |
---|---|---|
committer | Sven Strickroth <email@cs-ware.de> | 2011-10-09 18:55:28 +0200 |
commit | cf9bf6b7875357eb8059a4957c1d649bb9ff7e3c (patch) | |
tree | b5959914e0ce4be26c9b602426fac660fbc4a5de /src/win32/git2.rc | |
parent | 96fab093e3d7fa15e5085f36c51841fa6628cbe9 (diff) | |
download | libgit2-cf9bf6b7875357eb8059a4957c1d649bb9ff7e3c.tar.gz |
include version information in git2.dll on Windows
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Diffstat (limited to 'src/win32/git2.rc')
-rw-r--r-- | src/win32/git2.rc | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/win32/git2.rc b/src/win32/git2.rc new file mode 100644 index 000000000..16a7b1f1b --- /dev/null +++ b/src/win32/git2.rc @@ -0,0 +1,42 @@ +#include <winver.h> +#include "../../include/git2/version.h" + +#ifndef INCLUDE_LIB +#define LIBGIT2_FILENAME "git2.dll" +#else +#define LIBGIT2_FILENAME "libgit2.dll" +#endif + +VS_VERSION_INFO VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE + FILEVERSION LIBGIT2_VER_MAJOR,LIBGIT2_VER_MINOR,LIBGIT2_VER_REVISION,0 + PRODUCTVERSION LIBGIT2_VER_MAJOR,LIBGIT2_VER_MINOR,LIBGIT2_VER_REVISION,0 + FILEFLAGSMASK VS_FFI_FILEFLAGSMASK +#ifdef _DEBUG + FILEFLAGS 1 +#else + FILEFLAGS 0 +#endif + FILEOS VOS__WINDOWS32 + FILETYPE VFT_DLL + FILESUBTYPE 0 // not used +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904E4" + //language ID = U.S. English, char set = Windows, Multilingual + BEGIN + VALUE "FileDescription", "libgit2 - the Git linkable library\0" + VALUE "FileVersion", LIBGIT2_VERSION "\0" + VALUE "InternalName", LIBGIT2_FILENAME "\0" + VALUE "LegalCopyright", "Copyright (C) 2009-2011 the libgit2 contributors\0" + VALUE "OriginalFilename", LIBGIT2_FILENAME "\0" + VALUE "ProductName", "libgit2\0" + VALUE "ProductVersion", LIBGIT2_VERSION "\0" + VALUE "Comments", "For more information visit http://libgit2.github.com/\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0409, 1252 + END +END |