Skip to content

nodecum/c-toxcore-build-with-zig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c-toxcore-build-with-zig

ci

The intension of this repository is to provide a zig build file for the c-toxcore library. The usual way of doing this is to have build.zig in the root of the library. To add no further dependencies to the back of the c-toxcore developers this repository exists to be a proxy to the c-toxcore library.

Building with zig 0.14.0 (2024.10.0-mach)

to install this zig version using zvm do

zvm vmu zig mach

zvm i 2024.10.0-mach

Build the static library using c-toxcore v0.2.19

zig build install

Update the list of C source files

If a new c-toxcore version should be used and names of files may have changed, src/params.zig which contains the source files to be used can be updated by running

zig build update

This will extracts the necessary c-toxcore sources from CMakeLists.txt.

Generate zig bindings

zig build tox_zig

About

build the c-toxcore library using zig build script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages