mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
win32: add version info to bitcoind.exe
TODO: Add icon info
This commit is contained in:
parent
7a3df1cd94
commit
dee632cc25
@ -1,3 +1,4 @@
|
|||||||
|
include Makefile.include
|
||||||
AM_CPPFLAGS = $(INCLUDES) -I$(top_builddir)/src/obj \
|
AM_CPPFLAGS = $(INCLUDES) -I$(top_builddir)/src/obj \
|
||||||
-I$(top_srcdir)/src/leveldb/include -I$(top_srcdir)/src/leveldb/helpers \
|
-I$(top_srcdir)/src/leveldb/include -I$(top_srcdir)/src/leveldb/helpers \
|
||||||
-I$(builddir) $(BOOST_INCLUDES) $(BDB_CPPFLAGS)
|
-I$(builddir) $(BOOST_INCLUDES) $(BDB_CPPFLAGS)
|
||||||
@ -47,6 +48,10 @@ bitcoind_LDADD = libbitcoin.a leveldb/libleveldb.a leveldb/libmemenv.a \
|
|||||||
bitcoind_SOURCES = bitcoind.cpp
|
bitcoind_SOURCES = bitcoind.cpp
|
||||||
#
|
#
|
||||||
|
|
||||||
|
if TARGET_WINDOWS
|
||||||
|
bitcoind_SOURCES += bitcoin-res.rc
|
||||||
|
endif
|
||||||
|
|
||||||
AM_CPPFLAGS += $(BDB_CPPFLAGS)
|
AM_CPPFLAGS += $(BDB_CPPFLAGS)
|
||||||
bitcoind_LDADD += $(BDB_LIBS)
|
bitcoind_LDADD += $(BDB_LIBS)
|
||||||
|
|
||||||
|
36
src/bitcoin-res.rc
Normal file
36
src/bitcoin-res.rc
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
#include <windows.h> // needed for VERSIONINFO
|
||||||
|
#include "clientversion.h" // holds the needed client version information
|
||||||
|
|
||||||
|
#define VER_PRODUCTVERSION CLIENT_VERSION_MAJOR,CLIENT_VERSION_MINOR,CLIENT_VERSION_REVISION,CLIENT_VERSION_BUILD
|
||||||
|
#define VER_PRODUCTVERSION_STR STRINGIZE(CLIENT_VERSION_MAJOR) "." STRINGIZE(CLIENT_VERSION_MINOR) "." STRINGIZE(CLIENT_VERSION_REVISION) "." STRINGIZE(CLIENT_VERSION_BUILD)
|
||||||
|
#define VER_FILEVERSION VER_PRODUCTVERSION
|
||||||
|
#define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR
|
||||||
|
#define COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " The Bitcoin developers"
|
||||||
|
|
||||||
|
VS_VERSION_INFO VERSIONINFO
|
||||||
|
FILEVERSION VER_FILEVERSION
|
||||||
|
PRODUCTVERSION VER_PRODUCTVERSION
|
||||||
|
FILEOS VOS_NT_WINDOWS32
|
||||||
|
FILETYPE VFT_APP
|
||||||
|
BEGIN
|
||||||
|
BLOCK "StringFileInfo"
|
||||||
|
BEGIN
|
||||||
|
BLOCK "040904E4" // U.S. English - multilingual (hex)
|
||||||
|
BEGIN
|
||||||
|
VALUE "CompanyName", "Bitcoin"
|
||||||
|
VALUE "FileDescription", "Bitcoind (OSS daemon/client for Bitcoin)"
|
||||||
|
VALUE "FileVersion", VER_FILEVERSION_STR
|
||||||
|
VALUE "InternalName", "bitcoind"
|
||||||
|
VALUE "LegalCopyright", COPYRIGHT_STR
|
||||||
|
VALUE "LegalTrademarks1", "Distributed under the MIT/X11 software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php."
|
||||||
|
VALUE "OriginalFilename", "bitcoind.exe"
|
||||||
|
VALUE "ProductName", "Bitcoind"
|
||||||
|
VALUE "ProductVersion", VER_PRODUCTVERSION_STR
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
|
BLOCK "VarFileInfo"
|
||||||
|
BEGIN
|
||||||
|
VALUE "Translation", 0x0, 1252 // language neutral - multilingual (decimal)
|
||||||
|
END
|
||||||
|
END
|
Loading…
Reference in New Issue
Block a user