mirror of
https://github.com/reactos/reactos.git
synced 2025-04-05 21:21:33 +00:00
[CMAKE]
-Add freetype to build. svn path=/branches/cmake-bringup/; revision=48282
This commit is contained in:
parent
f65e75e216
commit
ac666a6d0a
2 changed files with 57 additions and 1 deletions
2
lib/3rdparty/CMakeLists.txt
vendored
2
lib/3rdparty/CMakeLists.txt
vendored
|
@ -3,7 +3,7 @@ add_subdirectory(adns)
|
|||
add_subdirectory(bzip2)
|
||||
add_subdirectory(cardlib)
|
||||
add_subdirectory(expat)
|
||||
#add_subdirectory(freetype) # Add files by hand, not with a glob!
|
||||
add_subdirectory(freetype)
|
||||
add_subdirectory(fullfat)
|
||||
add_subdirectory(icu4ros)
|
||||
add_subdirectory(libsamplerate)
|
||||
|
|
56
lib/3rdparty/freetype/CMakeLists.txt
vendored
Normal file
56
lib/3rdparty/freetype/CMakeLists.txt
vendored
Normal file
|
@ -0,0 +1,56 @@
|
|||
add_definitions(-D__NTDRIVER__)
|
||||
add_definitions(-DFT2_BUILD_LIBRARY)
|
||||
|
||||
IF(NSWPAT STREQUAL "1")
|
||||
add_definitions(-DTT_CONFIG_OPTION_UNPATHENTED_HINTING)
|
||||
ELSE
|
||||
ADD_DEFINITIONS(-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER)
|
||||
ENDIF()
|
||||
|
||||
include_directories(include)
|
||||
|
||||
set(SOURCE
|
||||
"src/autofit/autofit.c"
|
||||
"src/base/ftbase.c"
|
||||
"src/base/ftbbox.c"
|
||||
"src/base/ftbdf.c"
|
||||
"src/base/ftbitmap.c"
|
||||
"src/base/ftdebug.c"
|
||||
"src/base/ftgasp.c"
|
||||
"src/base/ftglyph.c"
|
||||
"src/base/ftgxval.c"
|
||||
"src/base/ftinit.c"
|
||||
"src/base/ftlcdfil.c"
|
||||
"src/base/ftmm.c"
|
||||
"src/base/ftotval.c"
|
||||
"src/base/ftpatent.c"
|
||||
"src/base/ftpfr.c"
|
||||
"src/base/ftstroke.c"
|
||||
"src/base/ftsynth.c"
|
||||
"src/base/ftsystem.c"
|
||||
"src/base/fttype1.c"
|
||||
"src/base/ftwinfnt.c"
|
||||
"src/base/ftxf86.c"
|
||||
"src/bdf/bdf.c"
|
||||
"src/cache/ftcache.c"
|
||||
"src/cff/cff.c"
|
||||
"src/cid/type1cid.c"
|
||||
"src/gxvalid/gxvalid.c"
|
||||
"src/gzip/ftgzip.c"
|
||||
"src/lzw/ftlzw.c"
|
||||
"src/otvalid/otvalid.c"
|
||||
"src/pcf/pcf.c"
|
||||
"src/pfr/pfr.c"
|
||||
"src/psaux/psaux.c"
|
||||
"src/pshinter/pshinter.c"
|
||||
"src/psnames/psnames.c"
|
||||
"src/raster/raster.c"
|
||||
"src/sfnt/sfnt.c"
|
||||
"src/smooth/smooth.c"
|
||||
"src/truetype/truetype.c"
|
||||
"src/type1/type1.c"
|
||||
"src/type42/type42.c"
|
||||
"src/winfonts/winfnt.c"
|
||||
)
|
||||
|
||||
add_library(freetype ${SOURCE})
|
Loading…
Reference in a new issue