summaryrefslogtreecommitdiff
path: root/plugins/QuickSearch
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/QuickSearch
parentc3766cdea1f52ee6f5d774a840f2f0d70c97386a (diff)
PRODUCTVERSION of any version resource to contain the number of current build
Diffstat (limited to 'plugins/QuickSearch')
-rw-r--r--plugins/QuickSearch/make.bat1
-rw-r--r--plugins/QuickSearch/quicksearch.dpr1
-rw-r--r--plugins/QuickSearch/version.rc49
3 files changed, 51 insertions, 0 deletions
diff --git a/plugins/QuickSearch/make.bat b/plugins/QuickSearch/make.bat
index e81991df45..90c6f5a029 100644
--- a/plugins/QuickSearch/make.bat
+++ b/plugins/QuickSearch/make.bat
@@ -16,6 +16,7 @@ if not exist %OUTDIR% mkdir %OUTDIR%
md tmp
rem brcc32.exe qs.rc -foqs.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/QuickSearch/quicksearch.dpr b/plugins/QuickSearch/quicksearch.dpr
index b691c0308e..d60426aa74 100644
--- a/plugins/QuickSearch/quicksearch.dpr
+++ b/plugins/QuickSearch/quicksearch.dpr
@@ -7,6 +7,7 @@
library quicksearch;
{$R qs.res}
+{$R version.res}
uses
// FastMM4,
diff --git a/plugins/QuickSearch/version.rc b/plugins/QuickSearch/version.rc
new file mode 100644
index 0000000000..44317d1b0c
--- /dev/null
+++ b/plugins/QuickSearch/version.rc
@@ -0,0 +1,49 @@
+// 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 1,4,2,0
+ 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
+/////////////////////////////////////////////////////////////////////////////