https://github.com/pedropark99/freetype-zig
Building FreeType using Zig Build System
https://github.com/pedropark99/freetype-zig
Last synced: 4 months ago
JSON representation
Building FreeType using Zig Build System
- Host: GitHub
- URL: https://github.com/pedropark99/freetype-zig
- Owner: pedropark99
- License: other
- Created: 2023-09-17T22:35:36.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-18T23:11:00.000Z (over 2 years ago)
- Last Synced: 2025-07-08T10:06:00.540Z (6 months ago)
- Language: C
- Homepage:
- Size: 2.02 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.TXT
Awesome Lists containing this project
README
# Introduction
This repo contains the all of the source code for FreeType C Library. But the main asset of this repository
is the `build.zig` file, which contains all the necessary instructions to build the FreeType C Library
using the Zig Build System.
The `build.zig` is not fully complete, but it contains all the basic steps to build the library.
In theory, `build.zig` should be equivalent to `CMakeLists.txt` file, which is the official build file used
by the development team, to build the FreeType project using CMake.
In essence, you clone the repository, then cd to the created folder, then, you call the `zig` compiler to build the project:
```bash
git clone https://github.com/pedropark99/freetype-zig.git
cd freetype-zig
zig build
```