summaryrefslogtreecommitdiff
path: root/plugins/Watrack
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-27 17:38:35 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-27 17:38:35 +0300
commitc9d1f394e5b44fcfab5ae7ef25006779516f03ff (patch)
treefb0d4441c29c3afa795b231565798d3cf27d5a10 /plugins/Watrack
parentc3766cdea1f52ee6f5d774a840f2f0d70c97386a (diff)
PRODUCTVERSION of any version resource to contain the number of current build
Diffstat (limited to 'plugins/Watrack')
-rw-r--r--plugins/Watrack/make.bat1
-rw-r--r--plugins/Watrack/version.rc50
-rw-r--r--plugins/Watrack/watrack.dpr1
3 files changed, 52 insertions, 0 deletions
diff --git a/plugins/Watrack/make.bat b/plugins/Watrack/make.bat
index 95170bd99b..d82627e650 100644
--- a/plugins/Watrack/make.bat
+++ b/plugins/Watrack/make.bat
@@ -25,6 +25,7 @@ rem brcc32.exe proto\proto.rc -foproto\proto.res
rem brcc32.exe stat\stat.rc -fostat\stat.res
rem brcc32.exe status\status.rc -fostatus\status.res
rem brcc32.exe templates\templates.rc -fotemplates\templates.res
+rc version.rc
%FPCBIN% @..\Utils.pas\fpc.cfg %PROJECT%.dpr %3 %4 %5 %6 %7 %8 %9
if errorlevel 1 exit /b 1
diff --git a/plugins/Watrack/version.rc b/plugins/Watrack/version.rc
new file mode 100644
index 0000000000..a55204db01
--- /dev/null
+++ b/plugins/Watrack/version.rc
@@ -0,0 +1,50 @@
+// Microsoft Visual C++ generated resource script.
+//
+#ifdef APSTUDIO_INVOKED
+#error this file is not editable by Microsoft Visual C++
+#endif //APSTUDIO_INVOKED
+
+#include "..\..\include\m_version.h"
+
+/////////////////////////////////////////////////////////////////////////////
+// English (U.S.) resources
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
+#ifdef _WIN32
+#pragma code_page(1252)
+#endif //_WIN32
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION 0,0,6,12
+ PRODUCTVERSION MIRANDA_VERSION_FILEVERSION
+ FILEFLAGSMASK 0x17L
+#ifdef _DEBUG
+ FILEFLAGS 0x1L
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS 0x4L
+ FILETYPE 0x2L
+ FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "000004b0"
+ BEGIN
+// VALUE "Author", __AUTHOR
+// VALUE "FileDescription", __DESCRIPTION
+// VALUE "FileVersion", __VERSION_STRING
+// VALUE "InternalName", __PLUGIN_NAME
+// VALUE "LegalCopyright", __COPYRIGHT
+// VALUE "OriginalFilename", __FILENAME
+// VALUE "ProductName", __PLUGIN_NAME
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x0, 1200
+ END
+END
+
+#endif // English (U.S.) resources
+/////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/Watrack/watrack.dpr b/plugins/Watrack/watrack.dpr
index 78130ec692..93af84731b 100644
--- a/plugins/Watrack/watrack.dpr
+++ b/plugins/Watrack/watrack.dpr
@@ -32,6 +32,7 @@ uses
{$include resource.inc}
{$Resource res\watrack.res}
+{$Resource version.res}
{$include i_vars.inc}