Commit af992aa9980ca554efa2a523c381948834402090
1 parent
0c90c182
Exists in
master
and in
3 other branches
Incluindo arquivo de recursos windows com informações de versão na API
C++.
Showing
3 changed files
with
32 additions
and
0 deletions
Show diff stats
configure.ac
@@ -87,6 +87,7 @@ case "$host" in | @@ -87,6 +87,7 @@ case "$host" in | ||
87 | AC_SUBST(WIN32_VERSION,$app_win32_revision) | 87 | AC_SUBST(WIN32_VERSION,$app_win32_revision) |
88 | 88 | ||
89 | AC_CONFIG_FILES(src/lib3270/windows/resources.rc) | 89 | AC_CONFIG_FILES(src/lib3270/windows/resources.rc) |
90 | + AC_CONFIG_FILES(src/lib3270++/windows/resources.rc) | ||
90 | ;; | 91 | ;; |
91 | 92 | ||
92 | s390x-*) | 93 | s390x-*) |
src/lib3270++/Makefile.in
@@ -31,6 +31,8 @@ LIBNAME=lib@LIB3270_NAME@++ | @@ -31,6 +31,8 @@ LIBNAME=lib@LIB3270_NAME@++ | ||
31 | SOURCES= \ | 31 | SOURCES= \ |
32 | $(wildcard *.cc) \ | 32 | $(wildcard *.cc) \ |
33 | $(wildcard local/*.cc) \ | 33 | $(wildcard local/*.cc) \ |
34 | + $(wildcard @OSNAME@/*.c) \ | ||
35 | + $(wildcard @OSNAME@/*.rc) | ||
34 | 36 | ||
35 | TEST_SOURCES= \ | 37 | TEST_SOURCES= \ |
36 | $(wildcard testprogram/*.cc) | 38 | $(wildcard testprogram/*.cc) |
@@ -0,0 +1,29 @@ | @@ -0,0 +1,29 @@ | ||
1 | +#include <windows.h> | ||
2 | + | ||
3 | +VS_VERSION_INFO VERSIONINFO | ||
4 | +FILEVERSION @PACKAGE_MAJOR_VERSION@,@PACKAGE_MINOR_VERSION@,@PACKAGE_MAJOR_RELEASE@,0 | ||
5 | +PRODUCTVERSION @PACKAGE_MAJOR_VERSION@,@PACKAGE_MINOR_VERSION@,@PACKAGE_MAJOR_RELEASE@,0 | ||
6 | + | ||
7 | +BEGIN | ||
8 | + | ||
9 | + BLOCK "StringFileInfo" | ||
10 | + BEGIN | ||
11 | + BLOCK "080904E4" | ||
12 | + BEGIN | ||
13 | + VALUE "FileDescription", "3270 C++ Access Library\0" | ||
14 | + VALUE "CompanyName", "Banco do Brasil S/A.\0" | ||
15 | + VALUE "FileVersion", "@WIN32_VERSION@\0" | ||
16 | + VALUE "LegalCopyright", "(C) 2017 Banco do Brasil S/A. All Rights Reserved\0" | ||
17 | + VALUE "OriginalFilename", "@PACKAGE_TARNAME@@DLLEXT@\0" | ||
18 | + VALUE "ProductName", "@PACKAGE_NAME@\0" | ||
19 | + VALUE "ProductVersion", "@PACKAGE_MAJOR_VERSION@.@PACKAGE_MINOR_VERSION@.@PACKAGE_MAJOR_RELEASE@.0\0" | ||
20 | + END | ||
21 | + END | ||
22 | + | ||
23 | + BLOCK "VarFileInfo" | ||
24 | + BEGIN | ||
25 | + VALUE "Translation", 0x809, 0x04E4 | ||
26 | + END | ||
27 | + | ||
28 | +END | ||
29 | + |