Skip to content

xmake-examples/zlib-scaffold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌱 Zlib Scaffold

A minimal zlib project template

🦄 Usage

Simply click the button below to get started:

Use this template

🔨 Development

📋 Requirements

To setup and use the project you will need to have the following tools installed:

⬇️ Installation

Clone the repository

$ git clone https://github.com/xmake-examples/zlib-scaffold.git

Change the working directory to the newly cloned repository:

$ cd zlib-scaffold

Run xmake to install the dependencies & build the project:

$ xmake
note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
  -> zlib v1.2.12
please input: y (y/n/m)

  => download https://github.com/madler/zlib/archive/v1.2.12.tar.gz .. ok
  => install zlib v1.2.12 .. ok
[ 25%]: cache compiling.release src/main.c
[ 50%]: linking.release zlib-scaffold
[100%]: build ok!

Run the project after it has been built:

$ xmake run
zlib version 1.2.12 = 0x12c0, compile flags = 0xa9
uncompress(): hello, hello!
gzread(): hello, hello!
gzgets() after gzseek:  hello!
inflate(): hello, hello!
large_inflate(): OK
after inflateSync(): hello, hello!
inflate with dictionary: hello, hello!

About

A minimal zlib project template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published