Author: zguo
Date: Mon Jul 26 17:59:46 2010
New Revision: 48282
URL:
http://svn.reactos.org/svn/reactos?rev=48282&view=rev
Log:
[CMAKE]
-Add freetype to build.
Added:
branches/cmake-bringup/lib/3rdparty/freetype/CMakeLists.txt (with props)
Modified:
branches/cmake-bringup/lib/3rdparty/CMakeLists.txt
Modified: branches/cmake-bringup/lib/3rdparty/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/3rdparty/CMak…
==============================================================================
--- branches/cmake-bringup/lib/3rdparty/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/lib/3rdparty/CMakeLists.txt [iso-8859-1] Mon Jul 26 17:59:46
2010
@@ -3,7 +3,7 @@
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)
Added: branches/cmake-bringup/lib/3rdparty/freetype/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/3rdparty/free…
==============================================================================
--- branches/cmake-bringup/lib/3rdparty/freetype/CMakeLists.txt (added)
+++ branches/cmake-bringup/lib/3rdparty/freetype/CMakeLists.txt [iso-8859-1] Mon Jul 26
17:59:46 2010
@@ -1,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})
Propchange: branches/cmake-bringup/lib/3rdparty/freetype/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native