[CMAKE]
[reactos.git] / lib / 3rdparty / freetype / CMakeLists.txt
1 add_definitions(-D__NTDRIVER__)
2 add_definitions(-DFT2_BUILD_LIBRARY)
3
4 IF(NSWPAT STREQUAL "1")
5 add_definitions(-DTT_CONFIG_OPTION_UNPATHENTED_HINTING)
6 ELSE
7 ADD_DEFINITIONS(-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER)
8 ENDIF()
9
10 include_directories(include)
11
12 set(SOURCE
13 "src/autofit/autofit.c"
14 "src/base/ftbase.c"
15 "src/base/ftbbox.c"
16 "src/base/ftbdf.c"
17 "src/base/ftbitmap.c"
18 "src/base/ftdebug.c"
19 "src/base/ftgasp.c"
20 "src/base/ftglyph.c"
21 "src/base/ftgxval.c"
22 "src/base/ftinit.c"
23 "src/base/ftlcdfil.c"
24 "src/base/ftmm.c"
25 "src/base/ftotval.c"
26 "src/base/ftpatent.c"
27 "src/base/ftpfr.c"
28 "src/base/ftstroke.c"
29 "src/base/ftsynth.c"
30 "src/base/ftsystem.c"
31 "src/base/fttype1.c"
32 "src/base/ftwinfnt.c"
33 "src/base/ftxf86.c"
34 "src/bdf/bdf.c"
35 "src/cache/ftcache.c"
36 "src/cff/cff.c"
37 "src/cid/type1cid.c"
38 "src/gxvalid/gxvalid.c"
39 "src/gzip/ftgzip.c"
40 "src/lzw/ftlzw.c"
41 "src/otvalid/otvalid.c"
42 "src/pcf/pcf.c"
43 "src/pfr/pfr.c"
44 "src/psaux/psaux.c"
45 "src/pshinter/pshinter.c"
46 "src/psnames/psnames.c"
47 "src/raster/raster.c"
48 "src/sfnt/sfnt.c"
49 "src/smooth/smooth.c"
50 "src/truetype/truetype.c"
51 "src/type1/type1.c"
52 "src/type42/type42.c"
53 "src/winfonts/winfnt.c"
54 )
55
56 add_library(freetype ${SOURCE})