INSTALL 2.9 KB
Newer Older
M
Ming, Bai 已提交
1 2 3 4 5 6 7 8 9

There are  several ways  to build the  FreeType library,  depending on
your system and the level of  customization you need.  Here is a short
overview of the documentation available:


I. Normal installation and upgrades
===================================

G
Grissiom 已提交
10
  1. Unix Systems (including Mac OS X, Cygwin, and MSys on Windows)
M
Ming, Bai 已提交
11

G
Grissiom 已提交
12 13 14 15
    Please read `INSTALL.UNIX' to install or upgrade FreeType  2 on  a
    Unix system.   Note  that  you  *need*  GNU  Make   for  automatic
    compilation,  since other make tools won't work (this includes BSD
    Make).
M
Ming, Bai 已提交
16 17 18 19

    GNU Make VERSION 3.80 OR NEWER IS NEEDED!


G
Grissiom 已提交
20
  2. On VMS with the `mms' build tool
M
Ming, Bai 已提交
21 22 23 24

    See `INSTALL.VMS' for installation instructions on this platform.


G
Grissiom 已提交
25
  3. Other systems using GNU Make
M
Ming, Bai 已提交
26 27

    On non-Unix platforms,  it is possible to build  the library using
G
Grissiom 已提交
28
    GNU Make  utility.  Note that  *NO OTHER MAKE TOOL  WILL WORK*[1]!
M
Ming, Bai 已提交
29 30 31 32 33 34
    This  methods supports  several  compilers on  Windows, OS/2,  and
    BeOS, including MinGW, Visual C++, Borland C++, and more.

    Instructions are provided in the file `INSTALL.GNU'.


G
Grissiom 已提交
35
  4. With an IDE Project File (e.g., for Visual Studio or CodeWarrior)
M
Ming, Bai 已提交
36 37 38 39 40 41 42 43 44 45

    We provide a  small number of `project files'  for various IDEs to
    automatically build  the library as  well.  Note that  these files
    are  not supported  and only  sporadically maintained  by FreeType
    developers, so don't expect them to work in each release.

    To find them, have a  look at the content of the `builds/<system>'
    directory, where <system> stands for your OS or environment.


G
Grissiom 已提交
46 47 48 49 50
  5. Using cmake

    See the top-level `CMakeLists.txt' file for more information.


M
Ming, Bai 已提交
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
  6. From you own IDE, or own Makefiles

    If  you  want  to  create   your  own  project  file,  follow  the
    instructions   given  in  the   `INSTALL.ANY'  document   of  this
    directory.


II. Custom builds of the library
================================

  Customizing the compilation  of FreeType is easy, and  allows you to
  select only the components of  the font engine that you really need.
  For more details read the file `CUSTOMIZE'.


----------------------------------------------------------------------

G
Grissiom 已提交
68
[1] make++, a make tool written in Perl, has sufficient support of GNU
M
Ming, Bai 已提交
69 70 71 72 73 74 75 76 77
    make extensions to build FreeType.  See

      http://makepp.sourceforge.net

    for more information; you need version 1.19 or newer, and you must
    pass option `--norc-substitution'.

----------------------------------------------------------------------

G
Grissiom 已提交
78 79
Copyright   2000-2008, 2010-2011, 2013
by David Turner, Robert Wilhelm, and Werner Lemberg.
M
Ming, Bai 已提交
80 81 82 83 84 85 86 87 88

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.


--- end of INSTALL ---