diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-27 17:38:35 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-27 17:38:35 +0300 |
commit | c9d1f394e5b44fcfab5ae7ef25006779516f03ff (patch) | |
tree | fb0d4441c29c3afa795b231565798d3cf27d5a10 /plugins/mRadio | |
parent | c3766cdea1f52ee6f5d774a840f2f0d70c97386a (diff) |
PRODUCTVERSION of any version resource to contain the number of current build
Diffstat (limited to 'plugins/mRadio')
-rw-r--r-- | plugins/mRadio/make.bat | 2 | ||||
-rw-r--r-- | plugins/mRadio/mradio.dpr | 1 | ||||
-rw-r--r-- | plugins/mRadio/version.rc | 49 |
3 files changed, 52 insertions, 0 deletions
diff --git a/plugins/mRadio/make.bat b/plugins/mRadio/make.bat index e9a15fee74..901852634c 100644 --- a/plugins/mRadio/make.bat +++ b/plugins/mRadio/make.bat @@ -17,6 +17,8 @@ md tmp rem brcc32.exe mradio.rc -fomradio.res
+rc version.rc
+
%FPCBIN% @..\..\plugins\Utils.pas\fpc.cfg %PROJECT%.dpr %3 %4 %5 %6 %7 %8 %9
if errorlevel 1 exit /b 1
diff --git a/plugins/mRadio/mradio.dpr b/plugins/mRadio/mradio.dpr index 4d27ccc201..d2dea8e725 100644 --- a/plugins/mRadio/mradio.dpr +++ b/plugins/mRadio/mradio.dpr @@ -17,6 +17,7 @@ uses {$include mr_rc.inc}
{$r mradio.res}
+{$r version.res}
{$include i_search.inc}
{$include i_variables.inc}
diff --git a/plugins/mRadio/version.rc b/plugins/mRadio/version.rc new file mode 100644 index 0000000000..efe8a766cb --- /dev/null +++ b/plugins/mRadio/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 0, 0, 2, 4
+ 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
+/////////////////////////////////////////////////////////////////////////////
|