descriptionA C function-reusing library
homepage URLhttps://maiyun.me/slib
repository URLhttps://github.com/myzhang1029/slib.git
ownerme@maiyun.me
last changeSat, 16 Mar 2024 01:23:43 +0000 (15 18:23 -0700)
last refreshFri, 17 May 2024 15:57:51 +0000 (17 17:57 +0200)
content tags
add:
README.md

slib

Build Status

Build Status

License

Description

This project was separated 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 keep some older versions back then (not all of them) in hist directory.
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 MSYS, try:

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

Otherwise you can use configure or CMake Just like usual GNU software 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.

shortlog
2024-03-16 Zhang MaiyunUpdate action stepsmain
2023-10-31 Zhang MaiyunChange email
2021-05-21 Zhang MaiyunAdd all newly uncovered historic code
2021-05-19 Zhang MaiyunCreate a release for past changesv4.5.2
2021-04-27 Zhang MaiyunRename master to main
2021-02-20 Zhang MaiyunFix configure.plain leaving temporary file
2020-12-31 Zhang MaiyunFix some English
2020-12-31 Zhang MaiyunFix return value
2020-12-23 Zhang MaiyunFix getch not building
2020-12-17 Zhang MaiyunFix many builds
2020-12-11 Zhang MaiyunFix configure.plain for some cases
2020-12-04 Zhang MaiyunFix 8.3 safety
2020-12-01 Zhang MaiyunUpdate format definition
2020-11-20 Zhang MaiyunRemove macOS builds on Travis CI
2020-11-16 Zhang MaiyunRevert src/CMakeLists.txt to ddd5ecc
2020-11-16 Zhang MaiyunExplicitly link to shared version
...
tags
2 years ago v4.5.2 Version 4.5.2
4 years ago plat The last commit to file macro PLAT
4 years ago v4.5.1 Version 4.5.1
4 years ago v4.5.0 Version v4.5.0
5 years ago v4.4.0 Remove function slib_average(incomp...
5 years ago v4.3.0 Add a tz argument to slib_sf_sunris...
5 years ago v4.2.1 Fix Linkage
5 years ago v4.2.0 Functions for sunrise/sunset calcul...
5 years ago v4.1.1 Remove unused variable
5 years ago v3.14.0 Main change: slib_pnlst
5 years ago v4.1.0 New mtret(imcompatiable)
5 years ago v4.0.0 Reimplement stack, no code buggy now
5 years ago v3.13.1 Fix missing parentheses in ispn.c
5 years ago v3.13.0 Remive iofile
5 years ago v3.12.0 Unify int types, GCF new algorithm
5 years ago v3.11.1-double-int Special double-integer version
...
heads
2 months ago main