view libfreetype.md @ 62:c11f18adb87f default tip @

libjansson: fix CMake installation for release
author David Demelier <markand@malikania.fr>
date Fri, 10 Mar 2023 14:28:09 +0100
parents bc1da1b68e90
children
line wrap: on
line source

Build libfreetype
=================

Version: 2.13.0

Download
--------

https://download.savannah.gnu.org/releases/freetype/freetype-2.13.0.tar.xz

Dependencies
------------

- [CMake](https://cmake.org).
- libz
- libpng

Configure
---------

### Visual Studio (debug)

	cmake -S . -B build
		-DCMAKE_BUILD_TYPE=Debug
		-DCMAKE_INSTALL_PREFIX=C:/pkg/vs/debug
		-DBUILD_SHARED_LIBS=On
		-DFT_DISABLE_BROTLI=On
		-DFT_DISABLE_BZIP2=On
		-DFT_DISABLE_HARFBUZZ=On
		-DFT_REQUIRE_ZLIB=On
		-G"NMake Makefiles"

### Visual Studio (release)

	cmake -S . -B build
		-DCMAKE_BUILD_TYPE=Release
		-DCMAKE_INSTALL_PREFIX=C:/pkg/vs/release
		-DBUILD_SHARED_LIBS=On
		-DFT_DISABLE_BROTLI=On
		-DFT_DISABLE_BZIP2=On
		-DFT_DISABLE_HARFBUZZ=On
		-DFT_REQUIRE_ZLIB=On
		-G"NMake Makefiles"

Build
-----

### Visual Studio

	cmake --build build && cmake --install build