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:
automakeandautoconfto generate the neededMakefilemaketo build the binarygccorclang, for buildingspuro-demo
To prepare the files needed by autotools, run:
aclocal
autoconf
automake --add-missing
./configure # Optionally, with --enable-debug=yes or --host
makeYou will get a ./configure script, which you can use to enable debug mode or other features.
- Run
./configure --host x86-64-w64-mingw32to setup theMakefileappropriately for ax86_64-w64-mingw32build.
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-Linuxx86_64-w64-mingw32to targetWindows