Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/engine/engine.rc

Issue 10976008: Set version number in versioninfo automatically (Closed)
Patch Set: Created June 13, 2013, 10:31 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build_release.py ('k') | src/plugin/AdblockPlus.rc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/engine/engine.rc
===================================================================
--- a/src/engine/engine.rc
+++ b/src/engine/engine.rc
@@ -1,36 +1,37 @@
+#include "../shared/Version.h"
#include "Resource.h"
#include "winres.h"
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 0,0,2,0
- PRODUCTVERSION 0,0,2,0
+ FILEVERSION VERSIONINFO_VERSION
+ PRODUCTVERSION VERSIONINFO_VERSION
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", "Eyeo GmbH"
VALUE "FileDescription", "Adblock Plus Engine"
- VALUE "FileVersion", "0, 0, 2, 0"
+ VALUE "FileVersion", VERSIONINFO_VERSION_STR
VALUE "InternalName", "Adblock Plus Engine"
VALUE "LegalCopyright", "Copyright 2013"
VALUE "OriginalFilename", "AdblockPlusEngine.exe"
VALUE "ProductName", "Adblock Plus"
- VALUE "ProductVersion", "0, 0, 2, 0"
+ VALUE "ProductVersion", VERSIONINFO_VERSION_STR
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
« no previous file with comments | « build_release.py ('k') | src/plugin/AdblockPlus.rc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld