Skip to content

Supplements many of the C standard libraries, adding additional string, file, and array operations.

License

Notifications You must be signed in to change notification settings

SoftFauna/sfsupplement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SoftFauna C Supplement Utility Library

Supplements many of the C standard libraries, adding additional string, file, and array operations.

Building From Source

Runtime Dependencies:

  • None

Build Dependencies:

  • meson >= 1.1.0
  • c89 (or msvc)
  • c++20 (optional: testsuite only)
  • pkgconfig (optional)
$ cd sfsupplement
$ meson setup builddir
$ cd builddir
$ ninja
# ninja install

Building the TestSuite

$ git submodule update --init
$ meson setup builddir -Dbuild-tests=true
$ cd builddir
$ ninja
$ ./tests/run_tests

Building without pkgconfig

$ meson setup builddir -Dgen-pkgconfig=false

Building on Windows

On Windows hosts Meson tries to install into your root folder, C:\, which is often not ideal. Use the DESTDIR environment variable to specify where you want the library installed to.

Additionally, see notes for building without pkgconfig.

VS Powershell example:

PS ...> $env:DESTDIR = "C:\Program Files\sfsupplement"
PS ...> ninja install

About

Supplements many of the C standard libraries, adding additional string, file, and array operations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published