This is a C library that offers a variety of log macros.
Check out src/spuro.h
and src/main.c
for more details.
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
C/C++ Header 1 63 27 478
-------------------------------------------------------------------------------
The repo is still under construction.
#define SPURO_IMPLEMENTATION
#include "spuro.h"
int main(void)
{
spr_tracef("Hello, trace!\n");
return 0;
}
To build the spuro-demo
binary, you need:
automake
andautoconf
to generate the neededMakefile
make
to build the binarygcc
orclang
, for buildingspuro-demo
To prepare the files needed by autotools
, run:
aclocal
autoconf
automake --add-missing
./configure # Optionally, with --enable-debug=yes or --host
make
You will get a ./configure
script, which you can use to enable debug mode or other features.
- Run
./configure --host x86-64-w64-mingw32
to setup theMakefile
appropriately for ax86_64-w64-mingw32
build.
To build both the libspuro.so
lib and spuro-demo
binary, run:
./configure
, which should generate theMakefile
. See Configuration section.make
, to build all target
ATM the code should build for:
x86_64-Linux
x86_64-w64-mingw32
to targetWindows