diff --git a/miniupnpc/msvc/miniupnpc.rc b/miniupnpc/msvc/miniupnpc.rc new file mode 100644 index 0000000..a244766 --- /dev/null +++ b/miniupnpc/msvc/miniupnpc.rc @@ -0,0 +1,36 @@ +#include +#include "rcVersion.h" + +VS_VERSION_INFO VERSIONINFO + FILEVERSION LIBMINIUPNPC_MAJOR_VERSION,LIBMINIUPNPC_MINOR_VERSION,LIBMINIUPNPC_MICRO_VERSION,0 + PRODUCTVERSION LIBMINIUPNPC_MAJOR_VERSION,LIBMINIUPNPC_MINOR_VERSION,LIBMINIUPNPC_MICRO_VERSION,0 + FILEFLAGSMASK VS_FFI_FILEFLAGSMASK +#ifdef _DEBUG + FILEFLAGS VS_FF_DEBUG +#else + FILEFLAGS 0 +#endif + FILEOS VOS__WINDOWS32 + FILETYPE VFT_DLL + FILESUBTYPE VFT2_UNKNOWN // not used +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "04090000" /* Lang = US English, Charset = ASCII */ + BEGIN + VALUE "FileDescription", "MiniUPnP library\0" + VALUE "FileVersion", LIBMINIUPNPC_DOTTED_VERSION "\0" + VALUE "InternalName", INTERNAL_NAME + VALUE "LegalCopyright", "Copyright (C) Thomas Bernard\0" + VALUE "LegalTrademarks", "\0" + VALUE "OriginalFilename", INTERNAL_NAME + VALUE "ProductName", "MiniUPnP\0" + VALUE "ProductVersion", LIBMINIUPNPC_DOTTED_VERSION "\0" + VALUE "Comments", "For more information visit http://xmlsoft.org/\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0409, 0 /* US English, ASCII */ + END +END diff --git a/miniupnpc/msvc/miniupnpc.vcxproj b/miniupnpc/msvc/miniupnpc.vcxproj index cb4defa..194d313 100644 --- a/miniupnpc/msvc/miniupnpc.vcxproj +++ b/miniupnpc/msvc/miniupnpc.vcxproj @@ -184,10 +184,14 @@ + + + + diff --git a/miniupnpc/msvc/miniupnpc_vs2010.vcxproj b/miniupnpc/msvc/miniupnpc_vs2010.vcxproj index b97c370..eba687d 100644 --- a/miniupnpc/msvc/miniupnpc_vs2010.vcxproj +++ b/miniupnpc/msvc/miniupnpc_vs2010.vcxproj @@ -180,10 +180,14 @@ + + + + diff --git a/miniupnpc/msvc/rcVersion.h b/miniupnpc/msvc/rcVersion.h new file mode 100644 index 0000000..3af4c45 --- /dev/null +++ b/miniupnpc/msvc/rcVersion.h @@ -0,0 +1,4 @@ +#define LIBMINIUPNPC_MAJOR_VERSION 2 +#define LIBMINIUPNPC_MINOR_VERSION 2 +#define LIBMINIUPNPC_MICRO_VERSION 0 +#define LIBMINIUPNPC_DOTTED_VERSION "2.2.0"