From c9d1f394e5b44fcfab5ae7ef25006779516f03ff Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 27 May 2018 17:38:35 +0300 Subject: PRODUCTVERSION of any version resource to contain the number of current build --- plugins/QuickSearch/make.bat | 1 + plugins/QuickSearch/quicksearch.dpr | 1 + plugins/QuickSearch/version.rc | 49 +++++++++++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 plugins/QuickSearch/version.rc (limited to 'plugins/QuickSearch') 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 +///////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3