Edit

kc3-lang/freetype/include/ft2build.h

Branch :

  • Show log

    Commit

  • Author : Werner Lemberg
    Date : 2015-06-25 13:04:57
    Hash : 392cf22f
    Message : Another adjustment to header locations. This change is a result of a discussion thread on freetype-devel http://lists.nongnu.org/archive/html/freetype-devel/2015-06/msg00041.html Re-introduce the `freetype2' subdirectory for all FreeType header files after installation, and rename the `freetype2' subdirectory in the git repository to `freetype'. * include/freetype2: Renamed to... * include/freetype: This. * CMakeLists.txt (PUBLIC_HEADERS, PUBLIC_CONFIG_HEADERS, PRIVATE_HEADERS): Updated. Update creation of `ftconfig.h'. Install generated `ftconfig.h'. * Jamfile (HDRMACRO, RefDoc), autogen.sh: Updated. * builds/amiga/include/config/ftconfig.h, builds/freetype.mk (PUBLIC_DIR), builds/symbian/bld.inf, builds/toplevel.mk (work), builds/unix/freetype2.in: Updated. * builds/unix/freetype-config.in: Updated. * builds/unix/configure.raw: Don't check for `rmdir'. * builds/unix/unix-def.in (DELDIR): Use `rm -rf', which is portable according to the autoconf info manual. * builds/unix/install.mk (install, uninstall, distclean_project_unix): Update and simplify. * builds/wince/*, builds/windows/*: Updated. * devel/ft2build.h, include/ft2build.h: Updated. * include/freetype2/config/ftheader.h, include/freetype2/internal/ftserv.h, include/freetype2/internal/internal.h: Update all header file macros. * src/tools/chktrcmp.py (TRACE_DEF_FILES): Updated. * docs/*: Updated.

  • include/ft2build.h
  • /***************************************************************************/
    /*                                                                         */
    /*  ft2build.h                                                             */
    /*                                                                         */
    /*    FreeType 2 build and setup macros.                                   */
    /*                                                                         */
    /*  Copyright 1996-2015 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.                                        */
    /*                                                                         */
    /***************************************************************************/
    
    
      /*************************************************************************/
      /*                                                                       */
      /* This is the `entry point' for FreeType header file inclusions.  It is */
      /* the only header file which should be included directly; all other     */
      /* FreeType header files should be accessed with macro names (after      */
      /* including `ft2build.h').                                              */
      /*                                                                       */
      /* A typical example is                                                  */
      /*                                                                       */
      /*   #include <ft2build.h>                                               */
      /*   #include FT_FREETYPE_H                                              */
      /*                                                                       */
      /*************************************************************************/
    
    
    #ifndef __FT2BUILD_H__
    #define __FT2BUILD_H__
    
    #include <freetype/config/ftheader.h>
    
    #endif /* __FT2BUILD_H__ */
    
    
    /* END */