xref: /PHP-7.4/win32/build/template.rc (revision c245898b)
1/* This is a template RC file.
2 * Do not edit with MSVC */
3#ifdef APSTUDIO_INVOKED
4# error Do not edit with MSVC
5#endif
6
7#include "winresrc.h"
8#include "main/php_version.h"
9
10LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
11#pragma code_page(1252)
12
13#ifndef THANKS_GUYS
14# define THANKS_GUYS ""
15#endif
16
17#ifdef WANT_LOGO
180 ICON win32\build\php.ico
19#endif
20
21#ifndef INTERNAL_NAME /* e.g. 'PHAR extension', 'CGI SAPI' */
22# ifdef FILE_DESCRIPTION
23#define INTERNAL_NAME FILE_DESCRIPTION /* e.g. 'PHP Script Interpreter', 'GD imaging' */
24# else
25#define INTERNAL_NAME FILE_NAME /* e.g. 'php7ts.dll', 'php_bz2.dll' */
26# endif
27#endif
28
29#ifndef URL
30#define URL "http://www.php.net/"
31#endif
32
33#ifndef EXT_VERSION
34#define EXT_VERSION PHP_VERSION
35#endif
36
37#ifndef EXT_FILE_VERSION
38#define EXT_FILE_VERSION PHP_MAJOR_VERSION,PHP_MINOR_VERSION,PHP_RELEASE_VERSION
39#endif
40
41VS_VERSION_INFO VERSIONINFO
42 FILEVERSION EXT_FILE_VERSION
43 PRODUCTVERSION PHP_MAJOR_VERSION,PHP_MINOR_VERSION,PHP_RELEASE_VERSION
44 FILEFLAGSMASK 0x3fL
45#ifdef _DEBUG
46 FILEFLAGS (VS_FF_DEBUG|VS_FF_SPECIALBUILD)
47#else
48 FILEFLAGS 0x0L
49#endif
50 FILEOS VOS__WINDOWS32
51 FILETYPE VFT_DLL
52 FILESUBTYPE VFT2_UNKNOWN
53BEGIN
54    BLOCK "StringFileInfo"
55    BEGIN
56        BLOCK "040904b0"
57        BEGIN
58            VALUE "Comments", THANKS_GUYS
59            VALUE "CompanyName", "The PHP Group"
60#ifdef _DEBUG
61            VALUE "FileDescription", FILE_DESCRIPTION " (DEBUG)"
62#else
63            VALUE "FileDescription", FILE_DESCRIPTION
64#endif
65            VALUE "FileVersion", EXT_VERSION
66            VALUE "InternalName", INTERNAL_NAME
67            VALUE "LegalCopyright", "Copyright � The PHP Group"
68            VALUE "LegalTrademarks", "PHP"
69            VALUE "OriginalFilename", FILE_NAME
70            VALUE "ProductName", "PHP"
71            VALUE "ProductVersion", PHP_VERSION
72#ifdef _DEBUG
73            VALUE "SpecialBuild", "Debug build"
74#endif
75            VALUE "URL", URL
76        END
77    END
78    BLOCK "VarFileInfo"
79    BEGIN
80        VALUE "Translation", 0x409, 1200
81    END
82END
83
84#ifdef MC_INCLUDE
85#include MC_INCLUDE
86#endif
87