• R/O
  • SSH

libctools: Commit

This library contains code that extends and simplifies different operations
for C language based programs.


Commit MetaInfo

Revisiónf55e6b4fe7d877b39993d621e8f4faa2fba1b13d (tree)
Tiempo2023-02-26 03:57:05
AutorSergey Gusarov <laborer2008@gmai...>
CommiterSergey Gusarov

Log Message

Added file_property_app.rc

Cambiar Resumen

Diferencia incremental

diff -r 041c7de03514 -r f55e6b4fe7d8 build_info/file_property_app.rc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/build_info/file_property_app.rc Sat Feb 25 21:57:05 2023 +0300
@@ -0,0 +1,71 @@
1+/*
2+ * @author Sergey Gusarov <laborer2008 (at) gmail.com>
3+ * @section LICENSE
4+ * This Source Code Form is subject to the terms of the Mozilla Public
5+ * License, v. 2.0. If a copy of the MPL was not distributed with this
6+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7+ *
8+ * @section DESCRIPTION
9+ * This file should be processed by C/C++ compilers and MS resource compiler
10+ * Do not edit. Automatically generated file.
11+ * Template for applications only, copy it to the application project
12+ */
13+
14+
15+#include "windows.h"
16+
17+#include "version_info.h"
18+
19+
20+#define VER_COMMA(hi, lo, build) CT_NUMBERIZE(hi),CT_NUMBERIZE(lo),CT_NUMBERIZE(build),0 // Like 0,2,0,0
21+#define FILE_VER_COMMA VER_COMMA(RZDT_MAJOR_VERSION, RZDT_MINOR_VERSION, RZDT_BUILD_REVISION)
22+
23+#if RZDT_INTERNAL_BUILD == true
24+ #define VER_DEBUG VS_FF_DEBUG | VS_FF_PRERELEASE | VS_FF_PRIVATEBUILD
25+#else
26+ #define VER_DEBUG 0
27+#endif
28+
29+#define VER_FILE_DESCRIPTION_STR {prefix}_APPLICATION_NAME
30+
31+#define VER_ORIGINAL_FILE_NAME_STR {prefix}_APPLICATION_NAME ".exe"
32+
33+MAINICON ICON DISCARDABLE {prefix}_ICON_PATH
34+
35+// --------- resources of type Version -----------
36+
37+1 VERSIONINFO
38+FILEVERSION FILE_VER_COMMA
39+PRODUCTVERSION FILE_VER_COMMA
40+FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
41+FILEFLAGS VER_DEBUG
42+FILEOS VOS__WINDOWS32
43+FILETYPE VFT_APP
44+FILESUBTYPE VFT2_UNKNOWN
45+
46+BEGIN
47+ BLOCK "StringFileInfo"
48+ BEGIN
49+ BLOCK "040904e4"
50+ BEGIN
51+ VALUE "FileDescription", VER_FILE_DESCRIPTION_STR
52+ VALUE "FileVersion", {prefix}_K_VERSION
53+ VALUE "InternalName", {prefix}_APPLICATION_NAME
54+ VALUE "LegalCopyright", "All rights reserved"
55+ VALUE "OriginalFilename", VER_ORIGINAL_FILE_NAME_STR
56+ VALUE "ProductName", {prefix}_APPLICATION_NAME
57+ VALUE "ProductVersion", {prefix}_K_VERSION
58+ END
59+ END
60+ BLOCK "VarFileInfo"
61+ BEGIN
62+ /* The following line should only be modified for localized versions. */
63+ /* It consists of any number of WORD,WORD pairs, with each pair */
64+ /* describing a language,codepage combination supported by the file. */
65+ /* */
66+ /* For example, a file might have values "0x409,1252" indicating that it */
67+ /* supports English language (0x409) in the Windows ANSI codepage (1252). */
68+
69+ VALUE "Translation", 0x409, 1252
70+ END
71+END
diff -r 041c7de03514 -r f55e6b4fe7d8 build_info/include/ctools/version_info.h.template
--- a/build_info/include/ctools/version_info.h.template Sat Feb 25 21:46:55 2023 +0300
+++ b/build_info/include/ctools/version_info.h.template Sat Feb 25 21:57:05 2023 +0300
@@ -6,7 +6,7 @@
66 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
77 *
88 * @section DESCRIPTION
9- * This file should be process by C/C++ compilers and MS resource compiler
9+ * This file should be processed by C/C++ compilers and MS resource compiler
1010 * Do not edit. Automatically generated file
1111 */
1212
diff -r 041c7de03514 -r f55e6b4fe7d8 build_info/include/ctools/version_info_app.h.template
--- a/build_info/include/ctools/version_info_app.h.template Sat Feb 25 21:46:55 2023 +0300
+++ b/build_info/include/ctools/version_info_app.h.template Sat Feb 25 21:57:05 2023 +0300
@@ -6,7 +6,7 @@
66 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
77 *
88 * @section DESCRIPTION
9- * This file should be process by C/C++ compilers and MS resource compiler
9+ * This file should be processed by C/C++ compilers and MS resource compiler
1010 * Do not edit. Automatically generated file.
1111 * Template for applications only, copy it to the application project
1212 */
Show on old repository browser