Compiler agnostic abstraction to append a library search path to nob_cc compile commands. Could look something like this:
#ifndef nob_cc_lib
# if defined(_MSC_VER)
# define nob_cc_lib(cmd, library_path) nob_cmd_append(cmd, nob_temp_sprintf("/LIBPATH:\"%s\"", (library_path)))
# else
# define nob_cc_lib(cmd, library_path) nob_cmd_append(cmd, nob_temp_sprintf("-L%s", (library_path)))
# endif
#endif
Compiler agnostic abstraction to append a library search path to nob_cc compile commands. Could look something like this: