From 0916b5f9072f7bd1b7b045ceb07758f9dc097ac2 Mon Sep 17 00:00:00 2001 From: Vincent Peyruqueou Date: Mon, 27 Mar 2023 11:46:59 +0200 Subject: Add sources of PCRE and Microsoft Visual Studio solutions to compile the lib --- pcre/win32/libpcre.rc | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 pcre/win32/libpcre.rc (limited to 'pcre/win32/libpcre.rc') diff --git a/pcre/win32/libpcre.rc b/pcre/win32/libpcre.rc new file mode 100644 index 0000000..8767666 --- /dev/null +++ b/pcre/win32/libpcre.rc @@ -0,0 +1,40 @@ +#include +#include "pcre_version.h" + +#ifdef GCC_WINDRES +VS_VERSION_INFO VERSIONINFO +#else +VS_VERSION_INFO VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE +#endif + FILEVERSION PCRE_VER_MAJOR,PCRE_VER_MINOR,PCRE_VER_REVISION,0 + PRODUCTVERSION PCRE_VER_MAJOR,PCRE_VER_MINOR,PCRE_VER_REVISION,0 + FILEFLAGSMASK VS_FFI_FILEFLAGSMASK +#ifdef _DEBUG + FILEFLAGS 1 +#else + FILEFLAGS 0 +#endif + FILEOS VOS__WINDOWS32 + FILETYPE VFT_DLL + FILESUBTYPE 0 // not used +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904E4" + //language ID = U.S. English, char set = Windows, Multilingual + BEGIN + VALUE "FileDescription", "libpcre for Windows\0" + VALUE "FileVersion", PCRE_VERSION_STR "\0" + VALUE "InternalName", "libpcre.dll\0" + VALUE "LegalCopyright", "Copyright (c) 1997-2021 University of Cambridge.\0" + VALUE "OriginalFilename", "libpcre.dll\0" + VALUE "ProductName", "PCRE\0" + VALUE "ProductVersion", PCRE_VERSION_STR "\0" + VALUE "Comments", "For more information visit . Alternative build from .\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0409, 1252 + END +END -- cgit v1.1