libfreetype.md

Tue, 13 Nov 2018 13:27:14 +0100

author
David Demelier <markand@malikania.fr>
date
Tue, 13 Nov 2018 13:27:14 +0100
changeset 19
153304da597a
child 22
a783a3fff834
permissions
-rw-r--r--

libfreetype: initial import

19
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
1 Build libfreetype
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
2 =================
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
3
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
4 Version: 2.9.1
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
5 Date: 20181113
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
6
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
7 Patch
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
8 -----
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
9
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
10 For the moment, 2.9.1 version does not contains .dll file installation, you need
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
11 to edit CMakeLists.txt after line 459:
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
12
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
13 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
14
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
15 Also change the following 419 from:
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
16
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
17 FILES ${PROJECT_BINARY_DIR}/include/freetype/config/ftconfig.h
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
18
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
19 To:
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
20
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
21 FILES ${PROJECT_SOURCE_DIR}/include/freetype/config/ftconfig.h
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
22
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
23 Download
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
24 --------
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
25
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
26 - https://download.savannah.gnu.org/releases/freetype/freetype-2.9.1.tar.gz
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
27
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
28 Dependencies
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
29 ------------
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
30
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
31 - [CMake](https://cmake.org).
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
32
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
33 Configure
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
34 ---------
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
35
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
36 ### Visual Studio (debug)
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
37
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
38 mkdir build
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
39 cd build
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
40 cmake ..
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
41 -DCMAKE_BUILD_TYPE=Debug
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
42 -DCMAKE_INSTALL_PREFIX=C:/pkg/vs/debug
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
43 -DBUILD_SHARED_LIBS=True
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
44 -G"NMake Makefiles"
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
45
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
46 ### Visual Studio (release)
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
47
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
48 mkdir build
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
49 cd build
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
50 cmake ..
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
51 -DCMAKE_BUILD_TYPE=Release
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
52 -DCMAKE_INSTALL_PREFIX=C:/pkg/vs/release
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
53 -DBUILD_SHARED_LIBS=True
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
54 -G"NMake Makefiles"
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
55
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
56 ### MinGW
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
57
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
58 mkdir build
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
59 cd build
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
60 cmake ..
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
61 -DCMAKE_BUILD_TYPE=Release
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
62 -DCMAKE_INSTALL_PREFIX=C:/pkg/mingw
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
63 -DBUILD_SHARED_LIBS=True
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
64 -G"MinGW Makefiles"
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
65
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
66 Build
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
67 -----
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
68
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
69 ### Visual Studio
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
70
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
71 nmake
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
72 nmake install
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
73
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
74 ### MinGW
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
75
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
76 mingw32-make
153304da597a libfreetype: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
77 mingw32-make install

mercurial