Edit

kc3-lang/freetype/src/base/ftver.rc

Branch :

  • Browse

    Commit

  • Author : Alexei Podtelezhnikov
    Date : 2018-07-24 23:01:34
    Hash : 4b97ab98
    Message : [build] Fortify dllexport/dllimport attributes (#53969,#54330). We no longer use predefined _DLL, which can be defined for static builds too with /MD. We use DLL_EXPORT and DLL_IMPORT instead, following libtool convention. * CMakeLists.txt [WIN32], builds/windows/vc2010/freetype.vcxproj: Define DLL_EXPORT manually. * include/freetype/config/ftconfig.h, builds/unix/ftconfig.in, builds/vms/ftconfig.h, builds/windows/vc2010/index.html, src/base/ftver.rc: /_DLL/d, s/FT2_DLLIMPORT/DLL_IMPORT/.

  • src/base/ftver.rc
  • /***************************************************************************/
    /*                                                                         */
    /*  ftver.rc                                                               */
    /*                                                                         */
    /*    FreeType VERSIONINFO resource for Windows DLLs.                      */
    /*                                                                         */
    /*  Copyright 2018 by                                                      */
    /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
    /*                                                                         */
    /*  This file is part of the FreeType project, and may only be used,       */
    /*  modified, and distributed under the terms of the FreeType project      */
    /*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
    /*  this file you indicate that you have read the license and              */
    /*  understand and accept it fully.                                        */
    /*                                                                         */
    /***************************************************************************/
    
    
    #include<windows.h>
    
    #define FT_VERSION      2,9,1,0
    #define FT_VERSION_STR  "2.9.1"
    
    VS_VERSION_INFO      VERSIONINFO
    FILEVERSION          FT_VERSION
    PRODUCTVERSION       FT_VERSION
    FILEFLAGSMASK        VS_FFI_FILEFLAGSMASK
    #ifdef _DEBUG
    FILEFLAGS            VS_FF_DEBUG
    #endif
    #ifdef DLL_EXPORT
    FILETYPE             VFT_DLL
    #define FT_FILENAME  "freetype.dll"
    #else
    FILETYPE             VFT_STATIC_LIB
    #define FT_FILENAME  "freetype.lib"
    #endif
    BEGIN
      BLOCK "StringFileInfo"
      BEGIN
        BLOCK "040904E4"
        BEGIN
          VALUE "CompanyName",      "The FreeType Project"
          VALUE "FileDescription",  "Font Rendering Library"
          VALUE "FileVersion",      FT_VERSION_STR
          VALUE "ProductName",      "FreeType"
          VALUE "ProductVersion",   FT_VERSION_STR
          VALUE "LegalCopyright",   "\251 2018 The FreeType Project www.freetype.org. All rights reserved."
          VALUE "InternalName",     "freetype"
          VALUE "OriginalFilename", FT_FILENAME
        END
      END
    
      BLOCK "VarFileInfo"
      BEGIN
        /* The following line should only be modified for localized versions.  */
        /* It consists of any number of WORD,WORD pairs, with each pair        */
        /* describing a "language,codepage" combination supported by the file. */
        VALUE "Translation", 0x409, 1252
      END
    END