cbt/cbt.c

21 lines
529 B
C

// x-run: python3 ./add-impl.py && ~/scripts/runc.sh % -Wall -Wextra -X-gdb
#define CBT_IMPLEMENTATION
#include "cbt.h"
int main(int argc, char **argv) {
CBT_INIT(argc, argv);
cbt_shell(CBT_PROC_AUTO, "sh", "-c", "echo 'owo'");
// example usage, won't actually work
struct cbt_lib raylib = cbt_lib("raylib");
cbt_lib_src(&raylib, "./raylib/*.c");
cbt_lib_ldflags(&raylib, "-lm");
cbt_lib_cflags(&raylib, "-Wall", "-Wextra");
cbt_lib_build(raylib, NULL);
cbt_lib_free(raylib);
cbt_cleanup();
return 0;
}