[CRT] spawn: define a unicode environment when needed
[reactos.git] / sdk / lib / 3rdparty / freetype / CMakeLists.txt
1
2 add_definitions(
3 -D__NTDRIVER__
4 -DFT2_BUILD_LIBRARY)
5
6 include_directories(include)
7
8 list(APPEND SOURCE
9 src/autofit/autofit.c
10 src/base/ftadvanc.c
11 src/base/ftbbox.c
12 src/base/ftbitmap.c
13 src/base/ftcalc.c
14 src/base/ftfntfmt.c
15 src/base/ftgloadr.c
16 src/base/ftglyph.c
17 src/base/ftgxval.c
18 src/base/fthash.c
19 src/base/ftinit.c
20 src/base/ftlcdfil.c
21 src/base/ftmm.c
22 src/base/ftobjs.c
23 src/base/ftotval.c
24 src/base/ftoutln.c
25 src/base/ftpatent.c
26 src/base/ftpfr.c
27 src/base/ftpsprop.c
28 src/base/ftrfork.c
29 src/base/ftsnames.c
30 src/base/ftstream.c
31 src/base/ftstroke.c
32 src/base/ftsynth.c
33 src/base/ftsystem.c
34 src/base/fttrigon.c
35 src/base/fttype1.c
36 src/base/ftutil.c
37 src/base/ftwinfnt.c
38 src/bdf/bdf.c
39 src/cff/cff.c
40 src/cid/type1cid.c
41 src/gzip/ftgzip.c
42 src/lzw/ftlzw.c
43 src/pcf/pcf.c
44 src/pfr/pfr.c
45 src/psaux/psaux.c
46 src/pshinter/pshinter.c
47 src/psnames/psmodule.c
48 src/raster/raster.c
49 src/sfnt/sfnt.c
50 src/smooth/smooth.c
51 src/truetype/truetype.c
52 src/type1/type1.c
53 src/type42/type42.c
54 src/winfonts/winfnt.c)
55
56 add_library(freetype ${SOURCE})
57
58 if(USE_CLANG_CL)
59 add_target_compile_flags(freetype "-Wno-tautological-constant-compare")
60 endif()