cZlib/README.md

494 B

Zlib 1.2.5 sources for Gint

Need to have a fully working gcc toolchain for SH3/SH4 architecture.

Compilation is done for all targets with a single:

% fxsdk build-fx install

You can also use the giteapc install Slyvtt/cZlib command to get an automatic install.

Using in a program

With CMake:

find_package(czlib 1.2.5 REQUIRED)
target_link_libraries(<TARGET> PRIVATE czlib::czlib)

With make, link with -lczlib.

In the C/C++ source, #include <zlib.h>.