This library contains code that extends and simplifies different operations
for C language based programs.
Revisión | f55e6b4fe7d877b39993d621e8f4faa2fba1b13d (tree) |
---|---|
Tiempo | 2023-02-26 03:57:05 |
Autor | Sergey Gusarov <laborer2008@gmai...> |
Commiter | Sergey Gusarov |
Added file_property_app.rc
@@ -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 |
@@ -6,7 +6,7 @@ | ||
6 | 6 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. |
7 | 7 | * |
8 | 8 | * @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 | |
10 | 10 | * Do not edit. Automatically generated file |
11 | 11 | */ |
12 | 12 |
@@ -6,7 +6,7 @@ | ||
6 | 6 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. |
7 | 7 | * |
8 | 8 | * @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 | |
10 | 10 | * Do not edit. Automatically generated file. |
11 | 11 | * Template for applications only, copy it to the application project |
12 | 12 | */ |