diff options
author | nulltoken <emeric.fermas@gmail.com> | 2013-06-12 21:15:58 +0200 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2013-06-13 10:12:44 +0200 |
commit | c1cf1af46a541419160473decb0955dda6ac721e (patch) | |
tree | 919bbb040943933394277ed38fc0c494a9df1a76 /src | |
parent | 5a6e45cc841194a61ccad1006ad4a4b9aa2ecbc5 (diff) | |
download | libgit2-c1cf1af46a541419160473decb0955dda6ac721e.tar.gz |
cmake: Add option to specify the name of the binary
Diffstat (limited to 'src')
-rw-r--r-- | src/win32/git2.rc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/win32/git2.rc b/src/win32/git2.rc index 436913228..22c63f695 100644 --- a/src/win32/git2.rc +++ b/src/win32/git2.rc @@ -1,10 +1,8 @@ #include <winver.h> #include "../../include/git2/version.h" -#ifndef INCLUDE_LIB -#define LIBGIT2_FILENAME "git2.dll" -#else -#define LIBGIT2_FILENAME "libgit2.dll" +#ifndef LIBGIT2_FILENAME +# define LIBGIT2_FILENAME "git2" #endif VS_VERSION_INFO VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE @@ -27,9 +25,9 @@ BEGIN BEGIN VALUE "FileDescription", "libgit2 - the Git linkable library\0" VALUE "FileVersion", LIBGIT2_VERSION "\0" - VALUE "InternalName", LIBGIT2_FILENAME "\0" + VALUE "InternalName", LIBGIT2_FILENAME ".dll\0" VALUE "LegalCopyright", "Copyright (C) the libgit2 contributors. All rights reserved.\0" - VALUE "OriginalFilename", LIBGIT2_FILENAME "\0" + VALUE "OriginalFilename", LIBGIT2_FILENAME ".dll\0" VALUE "ProductName", "libgit2\0" VALUE "ProductVersion", LIBGIT2_VERSION "\0" VALUE "Comments", "For more information visit http://libgit2.github.com/\0" |