This is my second attempt at creating a usable C library.
This project uses Google's GN build system (it and Ninja are in deps/bin
), because it works great for weird projects like this and Chromium. To generate Ninja build files, run this command:
gn gen out
If you want to use an IDE for editing/debugging, use the --ide
flag. In my testing, these projects can't be built from the IDE, so run ninja -C <output directory>
to build before you debug. You can also use --export-compile-commands
for language servers, such as with (Neo)Vim and VS Code.