nob.h icon indicating copy to clipboard operation
nob.h copied to clipboard

Header only library for writing build recipes in C.

Results 52 nob.h issues
Sort by recently updated
recently updated
newest added

Implementation of issue #137 Adds flag `NOB_LOG_CUSTOM_IMPLEMENTATION`. When defined it will declare the function `nob_log_default` which has the same signature as `nob_log`. If `NOB_IMPLEMENTATION` is defined, the `nob_log` definition will...

I often find it tedious to type a lot just for simple logging while debugging, especially when dealing with structs. So I thought it would be cool to have a...

A missing feature from the new API that was available on the deprecated one, is the ability to execute the commands without reseting the memory associated with them. While in...

Environment: OS: Windows 11 Compiler: gcc CRT: msys64 When compiling nob with gcc I received hundreds of lines of errors, all coming from #include Commenting it seems to resolve the...

This PR brings full UTF-8 support (i hope) to Windows, by converting the normal Char Strings to Wide Strings and calling the W versions of the Windows API calls. Thanks...

# Repro ```console $ cat nob.c #define NOB_IMPLEMENTATION #define NOB_STRIP_PREFIX #include "nob.h" int main(int argc, char **argv) { NOB_GO_REBUILD_URSELF(argc, argv); return 0; } $ cc -o nob nob.c $ mkdir...

I'm hoping the title gives it away, but if not, see corresponding test for usage. Notes on this commit: * line endings "\r\n" and "\n" are handled * `String_Views` is...