sourcepawn/compiler/libpawnc.rc
author David Anderson <danderson@mozilla.com>
Thu Aug 08 09:40:23 2013 -0700 (2013-08-08)
changeset 3976 bc77cfde7c5c
parent 3630 b72450a8be42
permissions -rw-r--r--
Add -Wno-narrowing to support building on GCC-4.7 (no bug, r=me).
     1 #include <windows.h>
     2 #if defined WIN32 || defined _WIN32 || defined __WIN32__
     3 #  include <winver.h>
     4 #else
     5 #  include <ver.h>
     6 #endif
     7 #include <sourcemod_version.h>
     8 
     9 AppIcon ICON "pawn.ico"
    10 
    11 /*  Version information
    12  *
    13  *  All strings MUST have an explicit \0. See the Windows SDK documentation
    14  *  for details on version information and the VERSIONINFO structure.
    15  */
    16 
    17 #define VERSIONNAME          "smcomp.exe\0"
    18 #define VERSIONDESCRIPTION   "SourcePawn Compiler\0"
    19 #define VERSIONPRODUCTNAME   "smcomp\0"
    20 
    21 VS_VERSION_INFO VERSIONINFO
    22 FILEVERSION    SM_VERSION_FILE
    23 PRODUCTVERSION SM_VERSION_FILE
    24 FILEFLAGSMASK  0x0000003FL
    25 FILEFLAGS      0
    26 #if defined(WIN32)
    27   FILEOS       VOS__WINDOWS32
    28 #else
    29   FILEOS       VOS__WINDOWS16
    30 #endif
    31 FILETYPE       VFT_DLL
    32 BEGIN
    33     BLOCK "StringFileInfo"
    34     BEGIN
    35         BLOCK "040904E4"
    36         BEGIN
    37             VALUE "CompanyName",      "(C)1998-2006 ITB CompuPhase, AlliedModders LLC\0"
    38             VALUE "FileDescription",  VERSIONDESCRIPTION
    39             VALUE "FileVersion",      SM_VERSION_STRING
    40             VALUE "InternalName",     VERSIONNAME
    41             VALUE "LegalCopyright",   "(C)1998-2006 ITB CompuPhase, AlliedModders LLC\0"
    42             VALUE "OriginalFilename", VERSIONNAME
    43             VALUE "ProductName",      VERSIONPRODUCTNAME
    44             VALUE "ProductVersion",   SM_VERSION_STRING
    45         END
    46     END
    47 
    48     BLOCK "VarFileInfo"
    49     BEGIN
    50         VALUE "Translation", 0x409, 1252
    51     END
    52 END