[0.1.x] ~ version fixed

git-svn-id: https://pykd.svn.codeplex.com/svn@73231 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
SND\EreTIk_cp 2012-01-16 15:19:41 +00:00 committed by Mikhail I. Izmestev
parent cee9b7f13d
commit 75c3423666
4 changed files with 12 additions and 10 deletions

View File

@ -24,7 +24,7 @@ using namespace pykd;
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
static const std::string pykdVersion = PYKD_VERSION_BUILD; static const std::string pykdVersion = PYKD_VERSION_BUILD_STR;
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -54,8 +54,8 @@ END
// //
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,1,0,5 FILEVERSION PYKD_VERSION_BUILD
PRODUCTVERSION 0,1,0,5 PRODUCTVERSION PYKD_VERSION_BUILD
FILEFLAGSMASK 0x17L FILEFLAGSMASK 0x17L
#ifdef _DEBUG #ifdef _DEBUG
FILEFLAGS 0x1L FILEFLAGS 0x1L
@ -71,11 +71,11 @@ BEGIN
BLOCK "041904b0" BLOCK "041904b0"
BEGIN BEGIN
VALUE "FileDescription", "pykd - python extension for windbg" VALUE "FileDescription", "pykd - python extension for windbg"
VALUE "FileVersion", PYKD_VERSION_BUILD VALUE "FileVersion", PYKD_VERSION_BUILD_STR
VALUE "InternalName", "pykd" VALUE "InternalName", "pykd"
VALUE "OriginalFilename", "pykd.dll" VALUE "OriginalFilename", "pykd.dll"
VALUE "ProductName", "pykd - python extension for windbg" VALUE "ProductName", "pykd - python extension for windbg"
VALUE "ProductVersion", PYKD_VERSION_BUILD VALUE "ProductVersion", PYKD_VERSION_BUILD_STR
END END
END END
BLOCK "VarFileInfo" BLOCK "VarFileInfo"

View File

@ -2,8 +2,10 @@
#define __VER_STR2__(x) #x #define __VER_STR2__(x) #x
#define __VER_STR1__(x) __VER_STR2__(x) #define __VER_STR1__(x) __VER_STR2__(x)
#define PYKD_VERSION_MAJOR 1 #define PYKD_VERSION_MAJOR 1
#define PYKD_VERSION_MINOR 5 #define PYKD_VERSION_MINOR 5
#define PYKD_VERSION_BUILD 0,PYKD_VERSION_MAJOR,0,PYKD_VERSION_MINOR
#define PYKD_VERSION_BUILD_STR __VER_STR1__(PYKD_VERSION_BUILD)
#define PYKD_VERSION_BUILD \
"0." __VER_STR1__(PYKD_VERSION_MAJOR) ".0." __VER_STR1__(PYKD_VERSION_MINOR)

View File

@ -51,7 +51,7 @@ def getTestSuite( singleName = "" ):
if __name__ == "__main__": if __name__ == "__main__":
print "\nTesting PyKd " + pykd.version print "\nTesting PyKd ver. " + pykd.version
target.appPath = sys.argv[1] target.appPath = sys.argv[1]