Skip to content
a C library
C Python Shell C++ CMake
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmake
include
src
test
.appveyor.yml
.c4droid
.clang-format
.gitattributes
.gitignore
.gitlab-ci.yml
.travis.yml
CMakeLists.txt
COPYING.GPL
COPYING.LESSER
Makefile.mingw
README.md
_config.yml
config.h.in
configure
sbl.pc.in
sbl.pyx
sbltool.c
setup.py

README.md

slib

Build Status

Build Status

License

Description

This project is seperated from myzhang1029/admin, which brought me to the world of C, in the computer room of Primary School Attached to Yunnan Normal University(in Yunnan, China), (hiding from the teacher), in 2015 when I was 11.
I just wanted to use these start-up projects to check out some C skills, tools and community integrations.
So therefore don't laugh at these projects, because they're from a beginner.

The slib is not an acronym, it's just a name. It is a portable programming interface library, a library written in C, and for any usage.

Building

If you are using MinGW and you don't have a MSYS, try:

> make -f Makefile.mingw PREFIX=prefix
> make install 

Otherwise you can use configure or CMake Just like usual GNU softwares do.

This autoconf-like script should run on all POSIX systems, supporting GNU make and BSD make as far as I know:

$ ./configure
$ make
$ make install

CMake(You could run make/ninja distclean!):

$ mkdir build (optional)
$ cd build
$ cmake .. -G Ninja
$ ninja install

Usage

You could see sbltool.c for a rough idea.

Contributing

if you want to contribute to this project, please start a pull request.

You can’t perform that action at this time.