diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-08-04 00:24:08 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-08-04 00:24:08 +0400 |
commit | 59cd6e130d4e64500e46b3d31cfbc7c327cef119 (patch) | |
tree | 4e2f6bd6b0fdfdd83f6b8a36d870271dacbbafea /src/apps/mplayerc/mpciconlib | |
parent | 541ee5f9e7e10b0dbee320b9923f3bd27eee6e75 (diff) |
mpciconlib and mpcresources version is set automatically based on VERSION_MAJOR and VERSION_MINOR taken from Version.h
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@2186 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/mpciconlib')
-rw-r--r-- | src/apps/mplayerc/mpciconlib/mpciconlib.rc | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/apps/mplayerc/mpciconlib/mpciconlib.rc b/src/apps/mplayerc/mpciconlib/mpciconlib.rc index 8954a6613..2b0206949 100644 --- a/src/apps/mplayerc/mpciconlib/mpciconlib.rc +++ b/src/apps/mplayerc/mpciconlib/mpciconlib.rc @@ -1,6 +1,7 @@ // Microsoft Visual C++ generated resource script.
//
#include "mpciconlib.h"
+#include "..\..\..\..\include\Version.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
@@ -98,8 +99,8 @@ IDI_DVDF_ICON ICON "..\\Icons\\dvdf.ico" // Version
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 1,3,0,0
- PRODUCTVERSION 1,3,0,0
+ FILEVERSION VERSION_MAJOR,VERSION_MINOR,0,0
+ PRODUCTVERSION VERSION_MAJOR,VERSION_MINOR,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
@@ -116,13 +117,13 @@ BEGIN BEGIN
VALUE "Comments", "Media Player Classic - Home Cinema mpciconlib"
VALUE "CompanyName", "MPC-HC Team"
- VALUE "FileDescription", "Media Player Classic - Home Cinema mpciconlib"
- VALUE "FileVersion", "1, 3, 0, 0"
+ VALUE "FileDescription", "Media Player Classic - Home Cinema Icon Library"
+ VALUE "FileVersion", MAKE_STR(VERSION_MAJOR) ", " MAKE_STR(VERSION_MINOR) ", 0, 0 "
VALUE "InternalName", "mpciconlib"
VALUE "LegalCopyright", "2002-2010 see AUTHORS file"
VALUE "OriginalFilename", "mpciconlib.dll"
- VALUE "ProductName", "Media Player Classic - Home Cinema mpciconlib"
- VALUE "ProductVersion", "1, 3, 0, 0"
+ VALUE "ProductName", "Media Player Classic - Home Cinema Icon Library"
+ VALUE "ProductVersion", MAKE_STR(VERSION_MAJOR) ", " MAKE_STR(VERSION_MINOR) ", 0, 0 "
END
END
BLOCK "VarFileInfo"
|