changeset 19:153304da597a

libfreetype: initial import
author David Demelier <markand@malikania.fr>
date Tue, 13 Nov 2018 13:27:14 +0100
parents 235e7b0e0a5c
children 24c3ed919c89
files libfreetype.md
diffstat 1 files changed, 77 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libfreetype.md	Tue Nov 13 13:27:14 2018 +0100
@@ -0,0 +1,77 @@
+Build libfreetype
+=================
+
+Version:    2.9.1
+Date:       20181113
+
+Patch
+-----
+
+For the moment, 2.9.1 version does not contains .dll file installation, you need
+to edit CMakeLists.txt after line 459:
+
+    RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
+
+Also change the following 419 from:
+
+    FILES ${PROJECT_BINARY_DIR}/include/freetype/config/ftconfig.h
+
+To:
+
+    FILES ${PROJECT_SOURCE_DIR}/include/freetype/config/ftconfig.h
+    
+Download
+--------
+
+  - https://download.savannah.gnu.org/releases/freetype/freetype-2.9.1.tar.gz
+
+Dependencies
+------------
+
+  - [CMake](https://cmake.org).
+
+Configure
+---------
+
+### Visual Studio (debug)
+
+    mkdir build
+    cd build
+    cmake ..
+        -DCMAKE_BUILD_TYPE=Debug
+        -DCMAKE_INSTALL_PREFIX=C:/pkg/vs/debug
+        -DBUILD_SHARED_LIBS=True
+        -G"NMake Makefiles"
+
+### Visual Studio (release)
+
+    mkdir build
+    cd build
+    cmake ..
+        -DCMAKE_BUILD_TYPE=Release
+        -DCMAKE_INSTALL_PREFIX=C:/pkg/vs/release
+        -DBUILD_SHARED_LIBS=True
+        -G"NMake Makefiles"
+
+### MinGW
+
+    mkdir build
+    cd build
+    cmake ..
+        -DCMAKE_BUILD_TYPE=Release
+        -DCMAKE_INSTALL_PREFIX=C:/pkg/mingw
+        -DBUILD_SHARED_LIBS=True
+        -G"MinGW Makefiles"
+
+Build
+-----
+
+### Visual Studio
+
+    nmake
+    nmake install
+
+### MinGW
+
+    mingw32-make
+    mingw32-make install
\ No newline at end of file