Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
CCBC-563: Add patch level to DLL info
Change-Id: Ia1aa9942ed21675f351ec8d21ab2cd8f29aff036
Reviewed-on: http://review.couchbase.org/44782
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Reviewed-by: Yury Alioshinov <haster2010@gmail.com>
Tested-by: Yury Alioshinov <haster2010@gmail.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  • Loading branch information
mnunberg committed Jan 5, 2015
1 parent a81b297 commit 77e5c4c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packaging/dllversion.rc.in
@@ -1,7 +1,13 @@
#include <windows.h>
#define VER_FILEVERSION @LCB_VERSION_MAJOR@,@LCB_VERSION_MINOR@,0,0

#define LCB_HEXVER @LCB_VERSION_HEX@
#define LCB_MAJOR LCB_HEXVER & 0xFF0000
#define LCB_MINOR LCB_HEXVER & 0x00FF00
#define LCB_PATCH LCB_HEXVER & 0x0000FF

#define VER_FILEVERSION LCB_MAJOR,LCB_MINOR,LCB_PATCH,0
#define VER_PRODUCT VER_FILEVERSION
#define VER_FILEVERSION_STR "@LCB_VERSION@\0"
#define VER_PRODUCT @LCB_VERSION_MAJOR@,@LCB_VERSION_MINOR@,0,0

VS_VERSION_INFO VERSIONINFO
FILEVERSION VER_FILEVERSION
Expand Down

0 comments on commit 77e5c4c

Please sign in to comment.